What is the difference between temp table and table variable?

Answer Posted / prakash

Temp table create automatically when you create any data
table create you must mention there create temporary table.
Table variable is must declare in procedure when you crate
procedure.

Is This Answer Correct ?    1 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why de-normalization required?

578


hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail

1790


What is difference between sql and sql server?

550


What is nested transaction?

538


Which event (check constraints, foreign key, rule, trigger, primary key check) will be performed last for an integrity check?

523






How to attach adventureworkslt physical files to the server?

640


Can the “if update (colname)” statement be used in a delete trigger?

565


What are the parts of a function?

527


What is the use of tempdb? What values does it hold?

573


Explain subquery and state its properties?

555


which backup strategy you are following at ur company

1737


What is dynamic cursor in SQL SERVER?

569


What is row_number () and partition by in sql server?

525


Find first and last day of current month in sql server

599


How to create an identity column?

647