Hello everyone,
I often see two styles, INSERT select and insert into select, what are the differences? Are they the same?
I am using SQL Server 2008 Enterprise.
Here are two samples.
INSERT california_authors (au_id, au_lname, au_fname)
SELECT au_id, au_lname, au_fname
FROM authors
WHERE State = 'CA'
http://www.sqlteam.com/article/using-select-to-insert-records
INSERT INTO Store_Information (store_name, Sales, Date)
SELECT store_name, Sales, Date
FROM Sales_Information
http://www.1keydata.com/sql/sqlinsert.html
thanks in advance, George