Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    127

    Unanswered: how to query the Default schema name?

    Hi ,

    how to query the Default schema name in DB2?

    Sn

  2. #2
    Join Date
    Jun 2006
    Posts
    471

    schema

    the default schema is your connect userid
    you could use : set current schema=xxxx
    otherwise explain the purpose
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

  3. #3
    Join Date
    Apr 2005
    Posts
    127
    Thanks for the reply Guy Przytula, it solved the purpose.

    cheers
    Sn
    Last edited by Shefu; 08-29-06 at 03:55.

  4. #4
    Join Date
    Feb 2004
    Location
    Copenhagen
    Posts
    220

    Arrow

    If you just want to know run:

    values(current schema)

    From the CLI
    Kristian K. Hansen
    Project Supervisor
    National Board of Health

Posting Permissions

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