Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSSQL Server Error 241
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00111752
Message ID:
00111796
Vues:
16
You can't use SQL wildcards with =, you need to use LIKE. Try this:
SELECT *;
 FROM dbo.Test Test;
 WHERE Test.date1 LIKE ?lddate
I'm pretty sure you can do this in SQL Server. It won't work as a VFP query because VFP can only use wildcards with text data.

>I get this error ("Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting DATETIME from character string.") in a remote view with the following code. ldDate is equal to '%'. Seems simple enough but here we go again. Can anyone help?
>
>SELECT *;
> FROM dbo.Test Test;
> WHERE Test.date1 = ?lddate
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform