kenn_rosie
January 12th, 2006, 11:47 AM
What is a named variable and why use it?
The variable @namedVariable is a "named variable."
The "@" prefix is required for SQL Server named parameters.
exterminator
January 15th, 2006, 03:09 AM
What is a named variable and why use it?
The variable @namedVariable is a "named variable."
The "@" prefix is required for SQL Server named parameters.For any other reason why we use variables in any other programming language. To store values, manipulate them, use them. Stored procedures and dynamic queries use them a lot. When writing PL/SQL code, you can't do without them. Hope this helps. Regards.