Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Just to make sure
Message
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Just to make sure
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01332138
Message ID:
01332138
Vues:
53
Hi everybody,

If I want to insert into the table values from two different selects, is it possible by one command?

something like
insert into myTable (field1, field2) (select ..) (select2)
Both selects return only one row.

I believe it's impossible, we need to do this through variables.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform