0

variable usage in sql

How to declare variables and use them in where clause

25th Aug 2017, 5:06 AM
naveen raj
naveen raj - avatar
1 Answer
0
declare @variable_name <data type (eg. int, table, varchar)>, ... n then assign and reassign as needed using assignment operators in SQL standard supported by the given engine implementor (ms sql, mysql, etc.)
26th Aug 2017, 2:13 AM
Goran B
Goran B - avatar