欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

DB2如何查看當前用戶模式及切換用戶

 更新時間:2014年08月10日 16:12:52   投稿:whsnow  
DB2如何查看當前用戶模式及切換用戶,給其他用戶授權(quán)等等,下面統(tǒng)統(tǒng)為大家介紹下

1. 連接數(shù)據(jù)庫:db2 connect to study

2. 查詢當前用戶模式:select current schema from sysibm.sysdummy1 或 select current schema from sysibm.dual

3. 切換用戶模式:set current schema toms

4. 切換用戶: db2 connect to cpsdb user Administrator using 111111

5. 給其他用戶授權(quán):db2 grant dbadm on database to user odsuser

6. 查看當前用戶的權(quán)限: db2 get authorizations

相關(guān)文章

最新評論