top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to define a temp table in SQL Server?

+3 votes
451 views
How to define a temp table in SQL Server?
posted Jan 19, 2014 by Vishvachi Tiwari

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

A temp table is a temporary storage structure. What does that mean? Basically, you can use a temp table to store data temporarily so you can manipulate and change it before it reaches its destination format.

Syntax:

DECLARE @temp TABLE(Column datatype,...)
answer Jan 19, 2014 by Atul Mishra
...