db2數(shù)據(jù)庫下載(db2)
關(guān)于db2數(shù)據(jù)庫下載,db2這個(gè)問題很多朋友還不知道,今天小六來為大家解答以上的問題,現(xiàn)在讓我們一起來看看吧!
1、操作數(shù)據(jù)庫命令 啟動數(shù)據(jù)庫實(shí)例 #db2start2、 停止數(shù)據(jù)庫實(shí)例 #db2stop 如果你不能停止數(shù)據(jù)庫由于激活的連接。
2、在運(yùn)行db2stop前執(zhí)行db2 force application all就可以了 /db2stop force3、 創(chuàng)建數(shù)據(jù)庫 #db2 create db [dbname]4、 連接到數(shù)據(jù)庫 #db2 connect to [dbname] user[username] using [password]5、 斷開數(shù)據(jù)庫連接 #db2 connect reset操作數(shù)據(jù)表命令 列出所有用戶表 #db2 list tables2、列出所有系統(tǒng)表 #db2 list tables for system3、列出所有表 #db2 list tables for all4、 列出系統(tǒng)表 #db2 list tables for system5、列出用戶表 #db2 list tables for user6、 列出特定用戶表 #db2 list tables for schema[user]?參考資料來源:百度百科—DB2。
本文分享完畢,希望對大家有所幫助。
免責(zé)聲明:本文為轉(zhuǎn)載,非本網(wǎng)原創(chuàng)內(nèi)容,不代表本網(wǎng)觀點(diǎn)。其原創(chuàng)性以及文中陳述文字和內(nèi)容未經(jīng)本站證實(shí),對本文以及其中全部或者部分內(nèi)容、文字的真實(shí)性、完整性、及時(shí)性本站不作任何保證或承諾,請讀者僅作參考,并請自行核實(shí)相關(guān)內(nèi)容。