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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create table from query

Status
Not open for further replies.

kyledunn

Programmer
Jan 2, 2001
145
US
How do I create a table from a query in Microsoft SQL 2000?
 
Is this what you want?

Select * Into NewTable
From OldTable

Or this?

Create Table(col1 int, Col2 char(10), ..., colN dec(10,2))

Get details about SELECT INTO and CREATE TABLE in SQL BOL. If you want to get the best answer for your question read faq183-874 and faq183-3179.
Terry L. Broadbent - DBA
SQL Server Page:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top