Check out example codes for "declare variable in stored procedure in sql server". It will help you in understanding the concepts better.

Code Example 1

DECLARE 
    @product_name VARCHAR(MAX),
    @list_price DECIMAL(10,2);

Learn ReactJs, React Native from akashmittal.com