Thursday, June 2, 2011

Execute as on sql server

CREATE PROCEDURE dbo.Test
     @var int
WITH EXECUTE AS 'dbo'
AS

SELECT  *   FROM TABLE

No comments:

Post a Comment