How to execute query "select * from Emp where emp_id=2" in DB2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swapnali143
    New Member
    • Mar 2012
    • 34

    How to execute query "select * from Emp where emp_id=2" in DB2

    How to execute query "select * from Emp where emp_id=2" in DB2
  • Anas Mosaad
    New Member
    • Jan 2013
    • 185

    #2
    First, you need to open db2cmd for windows or switch to the instance owner in *inux platforms.
    Second, connect to the database.
    Third, issue the command
    Code:
    db2 "select * from Emp where emp_id=2"
    If you have data studio or in earlier releases Control Center, you can execute the command from the command editor.

    Comment

    Working...