Viewing 3 posts - 1 through 3 (of 3 total)
Thank you for the response, but no. The user logged in is Userx. The stored procedure executes as UserX. Not exactly the same situation
I can create this...
July 27, 2015 at 11:46 am
DECLARE @SN NVARCHAR(128);
EXEC master.dbo.xp_regread
'HKEY_LOCAL_MACHINE',
'SYSTEM\CurrentControlSet\services\MSSQLServer',
'ObjectName',
@SN OUTPUT;
SELECT @SN;
July 23, 2015 at 11:45 am
Viewing 3 posts - 1 through 3 (of 3 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy