ERROR 3814 (HY000): An expression of a check constraint 'INV_CK1' contains disallowed function: `TO_DATE`.
mysql> CREATE TABLE t1 (c1 INTEGER CHECK (c1 > 0));
Query OK, 0 rows affected (0.04 sec)
mysql> SHOW CREATE TABLE t1\G
*************************** 1. row ***************************
Table: t1
Create Table: CREATE TABLE `t1` (
`c1` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
1 row in set (0.01 sec)
-- CHECK constraint search condition is not evaluated.
mysql> INSERT INTO t1 VALUES (0);
Query OK, 1 row affected (0.00 sec)
Also in JavaScript:
- toastr.js notification for laravel
- how map work in react
- click point invert zoom react simple map
- create nodejs new object
- webpack css not shoud be empty
- javascript full date as string
- string.find javascript
- push in object javascript
- js if array is 2d
- how to flip a Number in javascript
- js jwt decode
- deny ready jquery
- How do you select a particular option in a SELECT element in jQuery?
- print element by xpath javascript
- how to make a button jump between two functions when clicked in javascript
- javascript online test
- javascript redirect browser
- update formgroup value angular
- check if object is present in array javascript
- calculate two number and diplay next field without reload the page javascript
- how to get the last element of an array in javascript
- jquery datepicker on multiple input fields
- react functional components
- react native npm run start port