Inserting and Creating Tables Using INSERT/SELECT INTO
Posted on 2006-06-22 09:36 剑廿三 阅读(267) 评论(0) 收藏 举报INSERT INTO
INSERT INTO allows the output of a SELECT to be used to insert values into an existing table.
|
|||
Inserting and Creating Tables Using INSERT/SELECT INTOPosted on 2006-06-22 09:36 剑廿三 阅读(267) 评论(0) 收藏 举报INSERT INTOINSERT INTO allows the output of a SELECT to be used to insert values into an existing table.
SELECT INTOSELECT INTO creates a new table and fills it with data computed by a query. The data is not returned to the client, as it is with a normal SELECT. The new table's columns have the names and data types associated with the output columns of the SELECT.
|
|||