What is the difference between a local and a global variable?
Answer Posted / l.pandiyan
A global variable can be accessed by all functions. It is
initialized at the beginning of the program and is deleted
when the program shuts down. A local variable is isolated in
its function.
| Is This Answer Correct ? | 70 Yes | 6 No |
Post New Answer View All Answers
Define constraints and give an example of their use?
What is schemabinding a view?
How to get a list of columns in a view using the "sp_help" stored procedure?
Tell me the phases a transaction has to undergo?
Can we do dml on views?
How do you delete duplicate rows in sql server?
What does the on delete cascade option do?
Explain various data region available in ssrs with their use?
What are the differences between union, intersect, and minus operators?
What is global temp table?
What are different types of constraints?
What are the types of processing and explain each? : sql server analysis services, ssas
How to set a database state to offline in ms sql server?
When columns are added to existing tables, what do they initially contain?
What specific conditions database should meet, before you can bulk copy data into it using bcp?