Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL rejects blank VFP date
Message
 
To
22/11/2022 23:01:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01685392
Message ID:
01685400
Views:
48
Likes (1)
>Thanks for your reply. Will check this out.
>
>So this Strict Mode was implemented just recently?

Hi,

No, IMHO, Strict Mode was implemented from MySQL 5.0

-- from doc:
As of MySQL as of 5.7.4 this mode is deprecated. For previous version you must comment out the respective line in the config file. Refer MySQL 5.7 documentation on NO_ZERO_DATE

You can comment NO_ZERO_DATE in mysql config file, but in next versions not will be possibly.



MartinaJ

>
>
>>Hi,
>>
>> because it's enable strict mode:
>>https://stackoverflow.com/questions/36374335/error-in-mysql-when-setting-default-value-for-date-or-datetime/36374690#36374690
>>
>>MartinaJ
>>
>>>Hi All,
>>>
>>>I cannot seem to put my finger on this situation. In a previous MySQL version, 5.7.27, it accepts blank VFP dates and populates the MySQL table with '0000-00-00'.
>>>
>>>Now with 5.7.40, it says "Incorrect date value".
>>>
>>>I am using ODBC 8.0.
>>>
>>>TIA.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform