Using temporary TABLE


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. SELECT UserId, OrganizationId
  2. INTO #ORG_USERS
  3. FROM View_Users
  4. WHERE OrganizationId = @OrgId
  5.  
  6. /* Code here */
  7.  
  8. DROP TABLE #ORG_USERS

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.