Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending from a csv file
Message
From
21/09/2015 04:12:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01624860
Message ID:
01624863
Views:
67
>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform