DEV Community

Lam
Lam

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay