Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert VFP Memo field to SQL Server Image Field
Message
De
11/07/2006 12:44:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/07/2006 12:32:29
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01135374
Message ID:
01135403
Vues:
12
>Ok I put this code in but now on the SQLEXEC insert I get an error message as follows "Arithmetic overflow error converting numeric to data type varchar"
>
>Thanks Again !
Stephen,
Sorry rereading the code I've sent I made a mistake:
Select * from myTable into cursor crsTransfer readwrite
update crsTransfer set myMemo = "0x"+strconv(myMemo,15)
SQLPREPARE(m.nHandle,"insert into myTestdata..myTable (field1,field2,imageField) values "+;
 "(?crsTransfer.field1,?crsTransfer.field2,?crsTransfer.myMemo)")
scan
SQLExec(m.nHandle)
endscan
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform