📄 warnings.result
字号:
drop table if exists t1, t2;SET SQL_WARNINGS=1;create table t1 (a int);create table t1 (a int);ERROR 42S01: Table 't1' already existsshow count(*) errors;@@session.error_count1show errors;Level Code MessageError 1050 Table 't1' already existsshow warnings;Level Code MessageError 1050 Table 't1' already existscreate table t2(a int) default charset qwerty;ERROR 42000: Unknown character set: 'qwerty'show count(*) errors;@@session.error_count1show errors;Level Code MessageError 1115 Unknown character set: 'qwerty'create table t (i);ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1show count(*) errors;@@session.error_count1show errors;Level Code MessageError 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1insert into t1 values (1);insert into t1 values ("hej");Warnings:Warning 1264 Out of range value adjusted for column 'a' at row 1insert into t1 values ("hej"),("d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -