Re: Extended Stored Procedure: Get the current db of the client
- From: Sue Hoegemeier <Sue_H@xxxxxxxxxxxxx>
- Date: Mon, 08 May 2006 20:14:02 -0600
What version of SQL Server?
It's a limitation of extended stored procedure programming
with SQL Server 2000. Some have tried using svr_rpcdb but it
will generally just return master as the database name. And
it's no longer supported.
-Sue
On Mon, 8 May 2006 14:41:59 +0200, "Hans Stoessel"
<hstoessel.list@xxxxxxxxxxxx> wrote:
Hi
Is there a way to get the current database of the client who calls my
Extended Stored Procedure?
I have written a DLL in Visual Studion 2005 for the SQL server 2003 in C/C++
using the functions srv_*.
Thanks.
Hans
.
- Follow-Ups:
- Re: Extended Stored Procedure: Get the current db of the client
- From: Gert E.R. Drapers
- Re: Extended Stored Procedure: Get the current db of the client
- References:
- Extended Stored Procedure: Get the current db of the client
- From: Hans Stoessel
- Extended Stored Procedure: Get the current db of the client
- Prev by Date: Extended Stored Procedure: Get the current db of the client
- Next by Date: Re: Extended Stored Procedure: Get the current db of the client
- Previous by thread: Extended Stored Procedure: Get the current db of the client
- Next by thread: Re: Extended Stored Procedure: Get the current db of the client
- Index(es):
Relevant Pages
|