Advertisement

06.30.2007 at 11:05AM PDT, ID: 22668636
[x]
Attachment Details

"CREATE TABLE AS SELECT" statement in SQL SERVER

Asked by hpsuser in MS SQL Server

Tags: table, create, select, sql, server

Hello,

In SQL-Server, I'm trying to find the equivalent of the following SQL statement:

      "CREATE TABLE employees AS SELECT * FROM all_emp"

I know you can do this with to create a view in SQL SERVER, but is hasn't worked with a table.

ThanksStart Free Trial
[+][-]06.30.2007 at 11:06AM PDT, ID: 19396579

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: table, create, select, sql, server
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.30.2007 at 11:07AM PDT, ID: 19396580

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32