Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this statement in SQLEXEC( ) ?
Message
De
23/09/2005 19:15:58
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Divers
Thread ID:
01052565
Message ID:
01052618
Vues:
8
Sergey,
sorry but it shows the same error message.
don't worry, I use Cetin or fabio solution .
TIA

[]'
Peter

>>Sergey,
>>If I run those statements:
>>
>>csql = "select * from prestacoes where data_venc >= '2005/09/23'"
>>csql = "select * from prestacoes where data_venc <= '2006/02/28'"
>>
>>It returns this message:
>>"The conversion of char data type to smalldetime data type resulted in an out-of-range smalldatetime value"
>>
>
>It should wor the way it's. You can use SPT parameters as Cetin suggested or try
>
>
>csql = "select * from prestacoes where data_venc >= '2005-09-23'"
>csql = "select * from prestacoes where data_venc <= '2006-02-28'"
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform