DEV Community

Lam
Lam

Posted on

DB2 Cheat Sheet

Db2 is a family of data management products, including database servers, developed by IBM. It initially supported the relational model but was extended to support object–relational features and non-relational structures like JSON and XML.

Create a database (default drive) DB2 CREATE DB <dbName>
Create a database on a specific drive DB2 CREATE DB <dbName> ON <Drive>
Drop a database (with caution) DB2 DROP DB <dbName>
Connect to a database DB2 CONNECT TO <dbName>
Disconnect from a database DB2 DISCONNECT FROM <dbName>

References:

Top comments (0)