Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to execute sql statement stores in a string
Message
De
27/07/2001 00:24:08
 
 
À
27/07/2001 00:11:56
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00536199
Message ID:
00536204
Vues:
8
Hi Devrishi,
Cmd="SELECT * FROM table"
&Cmd
Sure, that's valid. I didn't post that because having at least part of the command literal is more legible. But it is valid. They are both equally valid solutions to the problem.

Please understand that I cannot comment on the rest.

Thanks!


>Hi John!!
>
>Good Day!
>
>Thanx for instant reply !!
>
>John great to know that ur working with microsoft. John i tried executing sql satement using &
>
>sqlstr = "select * from itemmast"
>
>&sqlstr
>
>and bingoo..it worked.
>
>but i want to ask u somehting,,is it a genuine way of executing sql statement.
>
>and please tell me which one is better solution.
>
>Now that i know ur in micrsoft, i just can't hold myself asking u a simple question and that is regarding release of VFP 7.0. Also how one can become MVP.
>
>Regards
>
>Sunny
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform