DB2: Comandos Database: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
AUTOCONFIGURE xxxx | AUTOCONFIGURE xxxx | ||
APPLY | 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 <nowiki><table></nowiki> -> mostra estrutura da tabela | |||
GET INSTANCE -> mostra a instância | |||
== Ver também == | == Ver também == |
Latest revision as of 12:00, 15 May 2025
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
- DB2: Instalando o DB2 no Linux
- DB2: Criando usuários adicionais para o DB2
- DB2: Unix_Linux Startup Script
- DB2: Comandos Uteis
- DB2: Comandos Database
- DB2: Comandos Start e Stop