Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from a csv file
Message
 
À
21/09/2015 04:12:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01624860
Message ID:
01624867
Vues:
63
Hi Lutz

I have recreated my dbf and have manually imported the data into it

I am now trying to import again by program

use j:\global\awbshayes in 0 shared
select awbshayes
Append From j:\global\awbshayes.csv DELIMITED WITH "" WITH CHAR ,

Nothing gets added and there are no errors

What am I doing wrong

Colin




>>Morning
>>
>>Start of week and I have forgotten how to append data in CSV format into an existing table
>>
>>My Code
>>
>>
>>USE j:\global\awbshayes IN 0 EXCLUSIVE
>>SELECT awbshayes
>>Append From j:\global\awbshayes.csv DELIMITED WITH '"' WITH CHAR '"
>>
>>Doesn't work
>>
>>Text is in double quotes , fields are comma delimited
>>
>>Quick help would be appreciated
>Colin,
>
>just out of the hip, see HELP APPEND FROM
>
>Append From j:\global\awbshayes.csv DELIMITED
>
>because "cfield",ifield
>is the default for DELIMITED
>
>Append From j:\global\awbshayes.csv DELIMITED WITH " WITH CHAR ,
>
>or
>
>Append From j:\global\awbshayes.csv DELIMITED WITH "" WITH CHAR ,
>
>
>Lutz
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform