Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update a text field of SQL Server with VFP memo f
Message
From
21/09/2004 07:03:18
 
 
To
21/09/2004 05:31:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00943525
Message ID:
00944471
Views:
18

Hi Fabio,

I wrote that because you description doesn't describe the way Visual FoxPro works. Visual FoxPro doesn't pass MEMO fields in the manner you've described here and in previous message. Please take a look into ODBC trace I've posted. You won't find "EXEC sp_sqlexecute" in it and you won't find MEMO value "inlined" into SELECT statement.

Thanks,
Aleksey.


With this example and ODBC analysis you are right.

But:
- with SQL Profiler, i'm sure to have seen sp_sqlexecute,
and are sure of successful being to write the string "\"+chr(13) within to a field SQL.
- with SQL Profiler, with your code i see the memo inline !
SQL Profiler get the Server side script lines,
then it must be ODBC Client side that do the ? substitution or send a sp_sqlexecute.

I will try to found a determinist repro code for sp_sqlexecute.

Another thing:
You confirm this (fail to put "\"+chr(13)) like a MS SQL bug?

Thanks
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform