文章詳情頁
DB2如何查看當(dāng)前用戶模式及切換用戶
瀏覽:169日期:2023-03-24 09:22:29
1. 連接數(shù)據(jù)庫:db2 connect to study
2. 查詢當(dāng)前用戶模式: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. 查看當(dāng)前用戶的權(quán)限: db2 get authorizations
標(biāo)簽:
DB2
相關(guān)文章:
1. DB2 Spatial Extender 性能調(diào)優(yōu)(2)(1)2. DB2新手使用的一些小筆記:新建實(shí)例、數(shù)據(jù)庫路徑不存在、客戶端連接 .3. 在AIX HA環(huán)境中安裝DB2時(shí)的七個(gè)注意事項(xiàng)4. IBM DB2 Connect簡介(1)5. 對比DB2 9和DB2 V8.x中的XML功能6. DB2數(shù)據(jù)庫中如何實(shí)現(xiàn)Oracle的某些功能7. DB2的高可用性和災(zāi)難恢復(fù)概述8. DB2用戶定義函數(shù)實(shí)現(xiàn)多種語言的排序9. IBM DB2跨平臺(tái)數(shù)據(jù)庫遷移步驟和注意事項(xiàng)10. AIX環(huán)境下實(shí)現(xiàn)DB2向Windows 2000遷移
排行榜
