Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the current database?
Message
 
 
To
19/09/2011 08:31:34
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01523925
Message ID:
01523926
Views:
69
This message has been marked as the solution to the initial question of the thread.
>Title says it all, in VFP I would use ?DBC(), but how can I figure out in SQL what is the current selected database?
SELECT DB_NAME()
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform