歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 如何檢驗DB2forLinux/390安裝是否成功

如何檢驗DB2forLinux/390安裝是否成功

日期:2017/2/27 14:22:51   编辑:更多Linux
  環境: S/390 or zSeries;Linux for S/390     問題 : 在安裝DB2 for Linux之後,如何檢驗是否安裝成功     解答 :以db2inst1用戶ID登錄系統:  su - db2inst1     啟動DB2:  db2start     訪問DB2命令行環境以執行SQL語句:  db2    執行SQL語句連接並查看sample表內容,列出系統表,查看system.systables表結構,之後斷開連接並退出:  =>connect to sample  =>select * from staff where dept = 20  =>list tables  =>describe table sysibm.systables  =>connect reset  =>quit    停掉DB2:  db2stop




Copyright © Linux教程網 All Rights Reserved