Interview Questions and Answers
What is difference between Local Variable and Global Variable
Local Variable:
The scope or lifetime of the local variable is within a block or procedure..
E.g.: DECLARE @Variable1
Global Variable:
The scope or lifetime of the global Variable throughout the execution of the program.
E.g.: DECLARE @@Variable1
Post a Comment
0 Comments