Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varchar(MAX), Memo fields, SPT and Remote Views
Message
De
15/02/2009 21:28:11
 
 
À
15/02/2009 18:38:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01284904
Message ID:
01382006
Vues:
79
No ADO - just VFP SPT into remote views. In SQL 2005/vfp9 a query that includes varchar(max) mapped to VFP memo fields in the remote view returns no data from the backend into the memo field - behaves as if fetchmemo=.f. if I use the SQL Native Client but returns the expected data if i use the ODBC.

Do you not get that result?

( BTW do you think Kozlu will win in Istanbul in March?)


>Well again a misunderstanding. "... then OLEDB driver and passing byte arrays from .Net " refer to do faulty VFPOLEDB SP1 driver. It was corrected in SP2 (at least documented as corrected, I really didn't test again).
>You are right rereading my nessage I see that in my message it sounds like as if I said "Oledb driver have problems with xml and varchar(max)". It should be ODBC that is problematic. With OLEDB I don't have problems.
>
>Cetin
>
>>This was actually your reply where I thought we agreed that SQL Native Client was a problem for VFP.
>>
>>>>
>>>>If I use ODBC ( the one that isn't sql native client ) when I create the ODBC connection, everything works without casting. But SQL Native Client seems to either have a bug or an 'undocumented feature' <s>
>>>>
>>>>So this is known behavior of SPT and varchar(max) and SQL Native Client?
>>>>
>>>>Is it documented or mentioned anywhere? Sure made me crazy trying to figure out why some my views worked and some didn't in retrieving memo data.
>>>>
>>>
>>>I documented it on forums for a few times at least:) I noticed the dicrepencies first with XML datatype, then OLEDB driver and passing byte arrays from .Net (now in list of corrected bugs of SP2-but I don't use SP2) then varchar(max). Bug seems to be within VFP not the driver itself. Try with a nonVFP environment and it correctly returns the data.
>>>Cetin


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform