Hello,
With Oracle, we can create a table as following :
CREATE TABLE tab_name
AS SELECT
col1, col2...
from tab1, tab2
where ...
With MSSQL, can we do the same thing ?The SELECT INTO statement creates a new table and populates it with the result set of the SELECT. The structure of the new table is defined by the attributes of the expressions in the select list.
I suggest you to refer to books online for more information.|||Thanks a lot|||No mention, keep in touch with BOL:)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment