🔍 SQL INSERT/UPDATE 字段对照查看SQL INSERT / UPDATE Viewer
把又长又难读的 INSERT 或 UPDATE 语句拆成「字段 = 值」一一对照的表格,快速找出字段和值是否错位;也可以导出为 JSON 或 CSV。Break long INSERT or UPDATE statements into a column = value table so you can spot misaligned values at a glance, and export the rows as JSON or CSV.
使用说明与常见问题How-to & FAQ
「SQL INSERT/UPDATE 字段对照查看」是什么?What is the SQL INSERT / UPDATE Viewer tool?
把又长又难读的 INSERT 或 UPDATE 语句拆成「字段 = 值」一一对照的表格,快速找出字段和值是否错位;也可以导出为 JSON 或 CSV。Break long INSERT or UPDATE statements into a column = value table so you can spot misaligned values at a glance, and export the rows as JSON or CSV.
如何使用「SQL INSERT/UPDATE 字段对照查看」?How do I use the SQL INSERT / UPDATE Viewer?
粘贴 INSERT INTO … VALUES (…) 或 UPDATE … SET … 语句(支持多行 VALUES 和多条语句),下方表格逐行显示每个字段对应的值;字段数和值数量不一致时会直接提示。Paste INSERT INTO … VALUES (…) or UPDATE … SET … statements (multi-row VALUES and multiple statements are supported); the table below lines up each column with its value and flags any count mismatch.
为什么某一行标红了?Why is a row highlighted in red?
这一行的值数量和字段数量不一致,通常是少写或多写了一个值、字符串里的引号没有转义,或逗号写在了引号外。出问题的单元格会显示红色的 ?。That row has a different number of values than columns — usually a missing or extra value, an unescaped quote in a string, or a stray comma. Missing cells show a red ?.
函数和表达式能识别吗?Are functions and expressions recognised?
可以。NOW()、CONCAT(a,b)、NULL、数字和十六进制都会作为一个整体值显示,字符串中的 '' 和 \' 转义也会正确还原。Yes. NOW(), CONCAT(a,b), NULL, numbers and hex literals are kept as single values, and '' or \' escapes inside strings are decoded.
「SQL INSERT/UPDATE 字段对照查看」免费吗?数据会上传吗?Is the SQL INSERT / UPDATE Viewer free? Is my data uploaded?
「SQL INSERT/UPDATE 字段对照查看」完全免费,无需注册或安装,手机和电脑都能用;所有处理都在你的浏览器本地完成,输入的内容和文件不会上传到服务器。The SQL INSERT / UPDATE Viewer is completely free with no sign-up or install and works on phones and desktops; everything runs locally in your browser and nothing you enter is uploaded.