Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ODBC on MSQL 2000 back end
Message
 
 
À
14/08/2003 11:36:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00820166
Message ID:
00820173
Vues:
14
The SET ANSI_WARNINGS setting controls if this warning is generated.

>Hi everybody
>
>I'am receiving from ODBC folowing message
>
>"String or binary data would be truncated", I have checked aError array and have got SQL STATE CODE 22001 - String data truncated (on right) on insert or update.
>
>Code is very simple:
>sSelect = "Insert into Table (Opis1) values('a') "
>a=sqlexec(gnHandle,sSelect)
>
>Mistery is that I get this message only if back end is MS SQL Server 2000. If i run same app. with MS SQL server 7.0 same code works normal.
>
>Regards
>
>Toni
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform