DEV Community

Ashwin Sharma P
Ashwin Sharma P

Posted on • Originally published at Medium

SAP Basis snippets #1

DB2 database operations

In this post let’s look at some of the basic db2 database commands.

• Logging into database

su - db2<sid>

All the below commands need to be executed as db2 user

• Checking db2 status

db2pd -

• Starting db2

db2start

• Stopping db2

db2stop

• Check the installed db2 version and the path

db2ls

Top comments (0)