declare value in sql
snippet in sql

how to declare a variable in sql

user4533

DECLARE @COURSE_ID AS INT, @COURSE_NAME VARCHAR (10);

declare value in sql

user2173

DECLARE  { @LOCAL_VARIABLE[AS] data_type  [ = value ] }