Solved

New tables

Posted on 2008-10-20
2
200 Views
Last Modified: 2012-05-05
How do I insert existing data from different tables into a new table just created?  I've created a new table with columns based on data I want from different tables but I can't get the data to populate the new columns.
0
Comment
Question by:enzerj
2 Comments
 
LVL 2

Accepted Solution

by:
MobiNet-ca earned 500 total points
ID: 22762319

Take a look at the Select Into style SQL statements .

http://www.w3schools.com/Sql/sql_select_into.asp
0
 

Author Closing Comment

by:enzerj
ID: 31508031
Perfect!  Thank you!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question