Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    49

    Unanswered: How to know to which Database i am connected on AIX.

    I am working on AIX , I connected to a database called SAMPLE1 and later SAMPLE2. After running some commands when i was not sure on which DB i am running the commands, How would i know to which Database i am connected to through a command ?

  2. #2
    Join Date
    Jul 2006
    Location
    Pune , India
    Posts
    433
    values current server
    Rahul Singh
    Certified DB2 9 DBA / Application Developer

  3. #3
    Join Date
    Mar 2006
    Posts
    20
    u can try with

    #1> db2 get connection state

    #2> db2 connect

    update if this is what you were looking for ....?

  4. #4
    Join Date
    Dec 2007
    Posts
    49
    Hi

    Thanks much for the solutions, Yes i am looking for the same

    All the three commands worked

    #1> db2 values current server

    #2> db2 get connection state

    #3> db2 connect

    Thanks
    Neha
    Last edited by Neharao; 12-22-08 at 13:10.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •