Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataBase Name in Stored Procedure
Message
 
To
29/07/2007 11:09:58
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01244430
Message ID:
01244434
Views:
10
>my server got 10 database , and a lot of SP
>in some sp, I need to put its database name in tables.
>How can I get the database in the SP programingically ?
>
>Thanks
SELECT DB_NAME()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform