Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Location
    Mumbai, India
    Posts
    15

    Question Unanswered: current database name...

    Hi,
    I want to know a sql query that would show the current database name.
    I have tried looking into the online books but couldn't find the right query.I hope u can do better.This is urgent.Thanxs. -- Vijay

  2. #2
    Join Date
    Mar 2004
    Location
    Toronto
    Posts
    28

    Re: current database name...

    Originally posted by vijayk
    Hi,
    I want to know a sql query that would show the current database name.
    I have tried looking into the online books but couldn't find the right query.I hope u can do better.This is urgent.Thanxs. -- Vijay
    select db_name()

  3. #3
    Join Date
    Mar 2004
    Location
    Mumbai, India
    Posts
    15

    thanxs

    thankyou very much.

Posting Permissions

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