SQL

Difference between Temp Table & Table Variable

Posted on September 2, 2008. Filed under: SQL | Tags: , , , , , , |

Table Variable vs. Temp Table Summary:

Feature

Table Variable

Temp Table

Note

Table Name

Max 128 characters

Max 116 characters

Data Storage

In memory and TempDB

TempDB

Meta Data

In memory

TempDB

A table variable inherits current database settings and can use the registered UDTs, user defined data types, and xml collections in the database. A temp table inherits the settings [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...