Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transformation using CDATE
Message
 
To
19/09/2000 14:36:06
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00417891
Message ID:
00418341
Views:
27
Thanks for a response.

My point was the data does need to be "transformed" into the proper source date layout for SQL Server. I believe this is the intended purpose of the CDATE function.

HOWEVER, through experimentation I've discovered that some of my dates are accepted as VFP date layout in text (i.e., mm/dd/yyyy hh:mm:ss). It seems that the transformation script pukes when I have an empty date in the text string, and CDATE seems to handle that to provide a null date.

Now I have loaded several thousand records, but the script fails because of "missing column delimiter". This is a pain. Where is the error handling? Do I need to write something into the script to go on to the next row?
Previous
Reply
Map
View

Click here to load this message in the networking platform