[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Want to know the database name



I don't know if my previous reply made it through, but if you're using
SQL Server, this will do the trick:

Begin-Select
DB_NAME()       &DBName

  Show 'Running in ' &DBName

End-Select


Rod Wright
Senior Applications Specialist
The Rouse Company
410-992-6307


-----Original Message-----
From: Chandra Yarlagadda [mailto:yarlagaddacs@rediffmail.com] 
Sent: Wednesday, July 02, 2003 1:20 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Want to know the database name


Hi

I want to find out what database the user has logged in when 
launching the SQR.

Any help is appreciated.

Thanks,
Chandra


___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
  & Kareena http://www.mpkdh.com

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
 
The information contained in this transmission is for the sole use of the 
intended recipient(s) and 
may contain confidential and privileged information.  Any unauthorized review, 
use, disclosure
or distribution of this communication is strictly prohibited.  If you have 
received this e-mail in 
error, please contact the sender by reply e-mail and destroy all paper and 
electronic copies of
the original message. 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users