Question #172231

define variables in sql


Expert's answer

A SQL variable is an object which can hold a single data value of a specific data types. It is used in batches and scripts.

DECLARE statement initializes a variable by assigning it a name and a data type.

DECLARE @VarA int

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS