Blog Directory
Table Variables
Temporary Tables
- Scope is restricted to current batch.
- Max length for Table Variable Name is 128 characters.
- If used in Dynamic SQL, Must be declared inside dynamic SQL.
Temporary Tables
- Scope is for current session and if global for all sessions.
- Max length for Temporary table name is 116 characters.
- Existing Temporary tables can be used inside Dynamic SQL.
No comments:
Post a Comment