Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling M type in export files
Message
De
11/09/2013 22:50:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01582931
Message ID:
01582937
Vues:
44
See replyh to Kevin. I think this will work.


>>Okay, I know there is a trick to this.
>>
>>I am writing a program that will iterate a VFP database and create pipe separated text files with no quotes and the data appropriate massaged for the SQL tables that will bulk upload them.
>>
>>I have some memo fields.
>>
>>I can do something clumsy that initailly puts a blank character in the column that will go to the SQL varchar(max) and then dummy up something to suck data in ( I do NOT want to use any kind of OLE or OLEDB to connect ot VFP if I can get around it. )
>>
>>Does anybody have tricky magic??
>
>Check this message #1563037 although I think your approach should work (I used a similar idea moving from Excel to VFP). I took first 254 characters and only when memo was longer (few rows) made the update as a separate process.


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
Répondre
Fil
Voir

Click here to load this message in the networking platform