Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server problem
Message
 
À
09/02/2007 13:49:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01194131
Message ID:
01194250
Vues:
9
To be fully in agreement with SQL SErver sybtax I would cahnge your code as below (added siungle quotes around the string literal):
lcSQL = "select * " + ;
	"from TRPSurvey" + "..exported " + ;
	"where ltrim(rtrim(PermID)) = '" + lcPermID + "'"

IF sqlexec(m.lnHandle,lcSQL,"crsImport") < 0
   AERROR(laError)
   MessageBox(laError[1,2])
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform