Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transformation using CDATE
Message
 
À
19/09/2000 14:36:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00417891
Message ID:
00418341
Vues:
26
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform