DB2: Comandos Database: Difference between revisions

From Wiki
(New page: == Comando CREATE DATABASE == CREATE DATABASE <dbname> ON <arquivo> AUTOCONFIGURE xxxx APPLY)
 
No edit summary
 
(One intermediate revision by the same user not shown)
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 ==
* [[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]]
*[[DB2|  Mais Artigos sobre DB2]]
*[[Oracle|  Mais Artigos sobre Oracle]]
*[[Linux|  Mais Artigos sobre Linux / UNIX / AIX]]
*[[Tecnologias|  Mais Artigos sobre outras Tecnologias]]
[[Category:DB2]]
[[Category:Databases]]
[[Category:Tecnologias]]

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