DB2 Cheat Sheet
Lam
Posted on December 14, 2023
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:
💖 💪 🙅 🚩
Lam
Posted on December 14, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.