Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy a column from an old table to a new table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00497359
Message ID:
00497441
Vues:
7
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform