Re: sp_setapprole
From: Hal Berenson (haroldb_at_truemountainconsulting.com)
Date: 04/26/03
- Next message: Hal Berenson: "Re: SQL-Server and Content encryption"
- Previous message: Hal Berenson: "Re: sp_setapprole"
- In reply to: A.M: "sp_setapprole"
- Next in thread: Gwynn: "Re: sp_setapprole"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Apr 2003 16:54:41 -0700
Let me be more complete...
You can take a look at the SETUSER command, but its use is not recommended
(and it may not be supported in future versions of SQL Server).
-- Hal Berenson True Mountain Consulting "A.M" <hate-spam@pam.com> wrote in message news:eqyz4TzCDHA.2044@TK2MSFTNGP10.phx.gbl... > Hi, > I am trying to use sp_setapprole inside a stored procedure, SQLServer says: > > "Application roles can only be activated at the ad hoc level." > > I need to login to different usename inside the stored procedure and then > encrypt the SP. How can i login as different user inside my stored > procedure? > > Thanks, > Ali > > >
- Next message: Hal Berenson: "Re: SQL-Server and Content encryption"
- Previous message: Hal Berenson: "Re: sp_setapprole"
- In reply to: A.M: "sp_setapprole"
- Next in thread: Gwynn: "Re: sp_setapprole"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|