Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View and Temp table

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hi,

Can we use temp tables in creating views ? Something like this :

Create view View1

as

create table #Table1
(
col1 int,
col2 int,
col3 int
)


/* code to insert values into #Table1 */
:
:

select * from #Table1
drop table #Table1

go
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top