Friday, February 7, 2014

DB2 : How to Connect using username?(DB2 9.7 command for Unix,Linux,Windows)

To connect to database instance using a username different from default admin user we use 2 following Commands
1) DB2 CONNECT TO <database>  USER <username>
Example

2) DB2 CONNECT TO <database> USER <username> USING <password>

No comments: