Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy To for SQL Bulk Insert
Message
From
07/03/2003 15:04:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Copy To for SQL Bulk Insert
Miscellaneous
Thread ID:
00762958
Message ID:
00762958
Views:
63
We are using the following command to create the text file for a SQL bulk insert:
Copy To < filename > Delimited With "" With Character "|"
We need to be able to propagate nulls for datetime into the SQL but these are being converted to empty datetimes in the text file.

We can change nulls to a bogus date like {12/31/9999 12:00:00 AM} and reconvert to null once the data is brought into SQL.

Is there a way to preserve the null values as part of the copy to?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform