HubsInfo Network
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

Overriding strict mode with the IGNORE keyword


Overriding strict mode with the IGNORE keyword
« on: April 17, 2022, 09:22:15 AM »

Overriding strict mode with the IGNORE keyword


Code: [Select]
SET sql_mode='STRICT_TRANS_TABLES';

INSERT INTO strict VALUES ('MariaDB', '128');
ERROR 1406 (22001): Data too long for column 's' at row 1


Code: [Select]
INSERT IGNORE INTO strict VALUES ('MariaDB', '128');
Query OK, 1 row affected, 2 warnings (0.15 sec)
 



Linux Ubuntu Guides Linux games - Lutris.net