DB2: Comandos Database

From Wiki

Comando CREATE DATABASE

CREATE DATABASE <dbname>
ON <arquivo>
AUTOCONFIGURE  xxxx
APPLY

Conexões

DB2 LIST APPLICATIONS [SHOW DETAIL]  -> mostra todas as conexões
DB2 FORCE APPLICATION [ALL | xxxx]	 -> desconecta todos os usuários
DB2 LIST TABLES [FOR ALL | FOR SCHEMA xxxx]  -> mostra a tabela de usuários
DESC TABLE <table> -> mostra estrutura da tabela
GET INSTANCE -> mostra a instância


Ver também