Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert based on a select
Message
De
21/03/2003 07:26:07
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
21/03/2003 06:53:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768499
Message ID:
00768504
Vues:
17
Hi Rixon,

That syntax won't work with VFP versions prior to 8. In earlier versions you'll need to break it up.


Regards,

Liam


>I'm trying to get the following SQL code to work in VFP:
>
>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.
>
>Any help would be appreciated. Thanks.
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform