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...

can u tel me how we can use temp table in sql sserver
instead of Dual in oracle?

Answer Posted / rajesh k gupta

Temp Table whether it is local temp which is naming with
single # or global with ## is stored in tempdb database.
it can be seen by exploring the databsse. if it is local
temp table it would be droped once user ends the session,
so you will have to ensure that you are using this table in
the same session where it has been created.
Sysntax to retrieve data frm a temp table is as follows:-
select field1,field2.....fieldN from #tablename

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is xaml only used for quick ui prototyping? : xaml

1016


Explain session variables?

1104


What is DLL hell problem?

1108


What languages can you code in visual studio?

1042


What is mfc?

1056


How to recover a failed RAID-5 Controlled HDD

2312


What does microsoft blend do?

1039


What is the contract attribute of the element?

3534


How is xaml used? : xaml

1064


What are the four microsoft programs?

977


What is SNMP ?

2066


In which scenario i can use stub zone and why if i have all information in my primary dns server?

2445


How to detect clone code in visual studio?

1106


What is Uninstall?

1988


What is Computer Administrator ?

1800