Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a column from an old table to a new table
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00497359
Message ID:
00497441
Views:
9
>Hi all,
> On SQL Server, I have table1 and table2. I want to copy a whole column on table1 into a column of table2. Table1 is not empty, it got data but table2 is empty. How to do that? Please, help me!
> Thank you.

In Oracle, I can do this with a single SQL command:

insert into table2 (column_name) (select column_name from table1)
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform