SAP Basis snippets #1

Ashwin Sharma PAshwin Sharma P
1 min read

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<sid> user

• Checking db2 status

db2pd -

• Starting db2

db2start

• Stopping db2

db2stop

• Check the installed db2 version and the path

db2ls

0
Subscribe to my newsletter

Read articles from Ashwin Sharma P directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ashwin Sharma P
Ashwin Sharma P