Decalare Variable in SQL


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



Copy this code and paste it in your HTML
  1. -- Declare the variable to be used.
  2. DECLARE @MyCounter INT;
  3.  
  4. -- Initialize the variable.
  5. SET @MyCounter = 0;

Report this snippet


Comments


You need to login to view comments.