|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Name of current db in procHi,
What's the best way to get the name of the current db (not filename, but db name) from inside a sp ?? I'm writing a general sp that has to be put into numerous db's, except one Kr. Soren Hi,
DB_NAME() must be the way to go :) Soren Show quote "Soeren S. Joergensen" <nospam@nodomain.com> skrev i en meddelelse news:eska3MgtFHA.2328@TK2MSFTNGP10.phx.gbl... > Hi, > > What's the best way to get the name of the current db (not filename, but > db name) from inside a sp ?? > > I'm writing a general sp that has to be put into numerous db's, except one > > > Kr. > Soren > |
|||||||||||||||||||||||