Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Sun Foster
Aged Yak Warrior
515 Posts |
Posted - 2008-07-11 : 10:08:00
|
| I can run code:select * from #mytemp but can not create views using it.How to use temporary table in views? |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-07-11 : 10:17:13
|
You just can't. Why do you need to do this ? KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
Sun Foster
Aged Yak Warrior
515 Posts |
Posted - 2008-07-11 : 10:24:14
|
| I program ASP.NET in one database but temporary table store in tempdb. How can I use the result of temporary table with the database in ASP.NET? |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-07-11 : 10:44:30
|
just simply select * from #temp_table_name KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-07-12 : 02:04:13
|
| Can you be more specific? where do you want to use the result from temp table? |
 |
|
|
|
|
|