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



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

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

More Microsoft Related AllOther Interview Questions

What the difference between the SoapUi utility and the VS2008 test functionality used for the Web-service testing?

0 Answers  


How to recover a failed RAID-5 Controlled HDD

0 Answers  


What is product key in microsoft?

0 Answers  


What is DS Proxy?

1 Answers   Deloitte,


What microsoft means?

0 Answers  






How do I sign in without a microsoft account?

0 Answers  


Can you tell what is the purpose of user32.dll?

0 Answers   C DAC, CDAC,


i need some windows short keys than run command also. if any body knows send website address.

2 Answers  


What is DDR (Double Data Rate)

0 Answers   CMS,


How do I access my microsoft account?

0 Answers  


what is 'macro' in excel? how to make use of it ?

0 Answers   ICICI,


What is Telnet

1 Answers   RCI, TATA,


Categories