Data Catalyst
Yash Ranadive's Blog
Saturday, October 2, 2010
Create Table As (CTAS) in SQL Server
An easy way to create a table based on the output of a select statement on another table in SQL Server is to use the into statement
select fielda, fieldb
into newtable
from originaltable
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment