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

Create table and update 1

Status
Not open for further replies.

Michael57

Technical User
Nov 15, 2005
131
0
0
CA
I want to create a table with an sql script that will take only some values from another table. How can I do this.
 
create a table
Select into

only some values from another table.
Use a where clause

Ex:

Code:
Select *
Into   NewTable
From   ExistingTable
Where  SomeValue = 400

-George

"the screen with the little boxes in the window." - Moron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top