Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between Temporary table variable and
a Table variable?

Or

Which Table variable I should use inside Stored procedure?

Answers were Sorted based on User's Feedback



What is the difference between Temporary table variable and a Table variable? Or Which Table..

Answer / oliva

There are major theoretical differences between temporary tables:
Temp table will show below
create table #T (…)
Table var will show below
And table variables:

declare @T table (…)
scope of table var is only inside the Store Procedure.

Is This Answer Correct ?    9 Yes 1 No

What is the difference between Temporary table variable and a Table variable? Or Which Table..

Answer / jagadeesh

transation can be rollback in temptable
but in tablevaribale we cannot do this

Is This Answer Correct ?    1 Yes 0 No

What is the difference between Temporary table variable and a Table variable? Or Which Table..

Answer / kava

instance varialble

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

Can we check locks in database? If so, how can we do this lock check?

0 Answers  


Which sql server is best?

0 Answers  


What is transcation?Plz give One example?

2 Answers  


Is sql server free?

0 Answers  


how to give input dynamically to a insert statement in sqlserver

3 Answers   HCL,


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

0 Answers  


Define candidate key, alternate key, composite key.

13 Answers   Infosys, Software India,


Name three version of sql server 2000 and also their differences?

1 Answers  


How do you delete a data source?

0 Answers  


What is the difference between stored procedure and functions?

0 Answers   MCN Solutions,


How do you debug a procedure in sql server?

0 Answers  


What happens if null values are involved in bitwise operations?

0 Answers  


Categories