Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a variable to SQL statement.
Message
De
01/02/2008 12:58:51
 
 
À
01/02/2008 07:24:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01287831
Message ID:
01288202
Vues:
15
What if we had a situation that effectively did something like the following (by entering appropriate value in a textbox in an entry screen)?

THISFORM.xVariable = "';drop table table1;"

I'm not sure if VFP interprets the query directly or if it simply passes it to the SQL backend. If it passes the query the backend you could be in for a nasty suprise.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform