Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from a csv file
Message
De
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:
01624863
Vues:
64
>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform