Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.39 KB | None | 0 0
  1.  
  2.  
  3.  
  4. DECLARE @separator char(1),
  5.      @separator_position int, -- This is used to locate each separator character
  6.     @array_value nvarchar(1000) -- this holds each array value as it is returned
  7.  
  8. /*this SP is called multiple times from same page, delete user perms when it called first time,
  9. other wise previous call info will be deleted in subsequent calls*/
  10. IF @array = 'b_all_rights'
  11. BEGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement