In this section we are going to learn about the Variable declaration and setting value in SQL server.
Variables are important part of any programming or scripting language. We can declare variable and set its value in SQL Server. This is particularly useful while creating Stored Procedures, Functions etc. We shall discuss about these later on.