Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transferring VFP memo to SQL...
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00888843
Message ID:
00889008
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform