2
Reply

What is the difference between table variable and a temporary table in sql.

Pradip Pandey

Pradip Pandey

Apr 04, 2013
1.3k
1

    The temporary tables are stored in tempdb database of SQL server. The Table Variables are stored in both the memory and the disk in the tempdb database. The structure of Temporary Tables can be created even after its creation. ... In the example we have created a Temporary Table named as Employee.

    Shekhar Panwar
    November 03, 2016
    0

    Temporary Tables: 1)Not Pre-compiled 2)Transaction log recorded 3)Scope - session Table Variables: 1)Pre-compiled 2)Transaction log NOT recorded 3)Scope - variable

    kannan thangamoney
    February 18, 2014
    0