How check DB2 connection in Linux?

Ngọc Trâm

New member
How check DB2 connection in Linux?
Answer
To test the connection:
  1. Run the DB2 command line utility db2.
  2. At the db2 prompt, enter the following: db2 => connect to sample1 user username using password db2 => select * from employee db2 => terminate.
 

Tìm kiếm

Back
Top