Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert based on a select
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768499
Message ID:
00768770
Vues:
26
>INSERT INTO employee (EmpNo, LastName, FirstName,
> PhoneExt, HireDate, Salary)
> SELECT EmpNo + 200, LastName, FirstName,'000',
> HireDate, Salary + 1000
> FROM empins
>
>Evidently VFP uses different syntax than SQL server or it simply can't insert data based on the results of a select statement.

MSKB#259274 deals with this. It predated the addition of the syntax in 8, as was mentioned above, but it does suggest how to work around it.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform