How to know the current database name
From: Danny Mansour (anonymous_at_discussions.microsoft.com)
Date: 04/12/04
- Next message: Timo: "Profile Trace: determining where sp originates"
- Previous message: Wayne Snyder: "Re: showing a little compassion"
- Next in thread: Aaron Bertrand [MVP]: "Re: How to know the current database name"
- Reply: Aaron Bertrand [MVP]: "Re: How to know the current database name"
- Reply: Alejandro Mesa: "Re: How to know the current database name"
- Reply: Eugênio Spolti: "Re: How to know the current database name"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 12 Apr 2004 10:07:03 -0700
Hi there,
Inside the code of a stored procedure, is there a way to
figure out the database this stored procedure is in or
belongs to. I basically need to read a registry key from
this stored procedure where the key is identified by the
current database name.
please let me know if you have any ideas.
Thanks,
Danny
- Next message: Timo: "Profile Trace: determining where sp originates"
- Previous message: Wayne Snyder: "Re: showing a little compassion"
- Next in thread: Aaron Bertrand [MVP]: "Re: How to know the current database name"
- Reply: Aaron Bertrand [MVP]: "Re: How to know the current database name"
- Reply: Alejandro Mesa: "Re: How to know the current database name"
- Reply: Eugênio Spolti: "Re: How to know the current database name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|