Hello all!
Quick question: How do I find out what database I'm currently using? I can't seem to find an appropriate system stored proc in BOL. For example:
use XYZ
go
[SQL statement(s) in question]
go
RESULTS:
database
----------
XYZ
Thanks in advance for your help!
Catselect db_name()|||Thanks a bunch!
Cat
Showing posts with label allquick. Show all posts
Showing posts with label allquick. Show all posts
Subscribe to:
Posts (Atom)