Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting VFP date type to SQL SmallDateTime
Message
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Converting VFP date type to SQL SmallDateTime
Miscellaneous
Thread ID:
01038556
Message ID:
01038556
Views:
138
I am uploading data from VFP tables to SQL Server. I get error
The conversion of char data type to smalldatetime data type
resulted in and out-of-range smalldatetime value.
I use value DTOC(MYDATEFLD) when inserting values to the SQL Server table.

Do I get the error because some of the values in VFP table are empty?

Any other suggestions?

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform