Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. CREATE TABLE #TEMPTABLE (some fields....)
  2.  
  3. BEGIN TRY
  4. INSERT INTO #TEMPTABLE
  5. EXEC SomeStoredProcedure @param1, @param2
  6. END TRY
  7. BEGIN CATCH
  8. ' Log error message in here
  9. END CATCH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement