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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need for indexing?

952


Define clusters?

1083


How to query multiple tables jointly?

991


can you instantiate a com object by using t-sql? : Sql server database administration

1002


What is read uncmmited?

1060


What is the rdl file?

138


How to list all objects in a given schema?

1060


What is the difference between for xml raw and for xml auto?

1032


Why I have to use stored procedures?

1050


Do you know what is a linked server in sql server?

1025


List the different normalization forms?

984


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

1072


Where is trigger in sql server?

1048


How you can add messages to the nt event log from within a stored procedure?

1069


What are various limitations of the views?

1055