Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transferring VFP memo to SQL...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00888843
Message ID:
00889008
Vues:
23
Mike,

these commands work fine in SQL Query Analyzer for me:

create table #test1 ( m1 text )
insert into #test1 values ( 'this -- is a test' )
select * from #test1

they will the same in SPT from VFP.

You need to worry more about any ' characters that appear in your memo, they should be converted to two 's. ala:

sqlexec( ... ['] + strtran( TheMemo, ['], [''] ) + ['] ...

>Transferring some records from VFP to SQL 2000, using SQL pass through. The record contains a memo field with customer service notes. Some of the notes contain ‘---‘ and carriage returns and line feeds. How can I transfer this using SQL pass through?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform