INSERT INTO `QHDATA_THEME.DB_DTRK_CZRKDT` (`RID`, `LDBM`, `TJS`, `XZQHDM`, `XB0`, `XB1`, `MNL0`, `MNL1`, `MNL2`, `MNL3`, `MNL4`, `MNL5`, `MNL6`, `MNL7`, `MNL8`, `MNL9`, `MNL10`, `MNL11`, `MNL12`, `MNL13`, `MNL14`, `MNL15`, `MNL16`, `MNL17`, `MNL18`, `MNL19`, `MNL20`, `MNL21`, `WNL0`, `WNL1`, `WNL2`, `WNL3`, `WNL4`, `WNL5`, `WNL6`, `WNL7`, `WNL8`, `WNL9`, `WNL10`, `WNL11`, `WNL12`, `WNL13`, `WNL14`, `WNL15`, `WNL16`, `WNL17`, `WNL18`, `WNL19`, `WNL20`, `WNL21`, `MYE`, `WYE`, `MET`, `WET`, `MWCN`, `WWCN`, `MLN`, `WLN`, `LNWHQ`, `LNXQJY`, `LNXX`, `LNCZ`, `LNGZ`, `LNDXZK`, `LNDXBK`, `LNSSYJS`, `LNBSYJS`, `MLN2`, `WLN2`, `LNWHQ2`, `LNXQJY2`, `LNXX2`, `LNCZ2`, `LNGZ2`, `LNDXZK2`, `LNDXBK2`, `LNSSYJS2`, `LNBSYJS2`, `MLN3`, `WLN3`, `LNWHQ3`, `LNXQJY3`, `LNXX3`, `LNCZ3`, `LNGZ3`, `LNDXZK3`, `LNDXBK3`, `LNSSYJS3`, `LNBSYJS3`, `WHQ`, `XQJY`, `XX`, `CZ`, `GZ`, `DXZK`, `DXBK`, `SSYJS`, `BSYJS`, `SSH`, `FSH`, `lng`, `lat`, `is_qianhai`, `DISTRICT_NAME`, `DISTRICT_CODE`, `STREET_NAME`, `STREET_CODE`, `COMMUNITY_NAME`, `COMMUNITY_CODE`, `occur_period`, `occur_period_year`, `occur_period_month`, `org_id`, `org_name`, `area_code`, `data_time`, `TJNY`) VALUES ('933f35f92e5d4b19a7f9334452fe5a99', '4403060000000000000', 54, '440306000000', 23, 31, 0, 0, 0, 0, 0, 7, 10, 3, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 11, 14, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 5, 8, 36, 2, 0, 16, 38, '113.861892600000004', '22.580441539999999', '1', '宝安区', '440306000000', '西乡街道', '440306000000', '盐田社区', '440306000000', 202212, 2022, 12, NULL, NULL, NULL, '2023-06-01 00:00:00', '2022-12-01 00:00:00');
时间: 2023-07-13 07:27:41 浏览: 119
C#ASP.NET网络进销存管理系统源码数据库 SQL2008源码类型 WebForm
以下是转换后的达梦数据库格式的 INSERT 语句:
```
INSERT INTO "QHDATA_THEME.DB_DTRK_CZRKDT" ("RID", "LDBM", "TJS", "XZQHDM", "XB0", "XB1", "MNL0", "MNL1", "MNL2", "MNL3", "MNL4", "MNL5", "MNL6", "MNL7", "MNL8", "MNL9", "MNL10", "MNL11", "MNL12", "MNL13", "MNL14", "MNL15", "MNL16", "MNL17", "MNL18", "MNL19", "MNL20", "MNL21", "WNL0", "WNL1", "WNL2", "WNL3", "WNL4", "WNL5", "WNL6", "WNL7", "WNL8", "WNL9", "WNL10", "WNL11", "WNL12", "WNL13", "WNL14", "WNL15", "WNL16", "WNL17", "WNL18", "WNL19", "WNL20", "WNL21", "MYE", "WYE", "MET", "WET", "MWCN", "WWCN", "MLN", "WLN", "LNWHQ", "LNXQJY", "LNXX", "LNCZ", "LNGZ", "LNDXZK", "LNDXBK", "LNSSYJS", "LNBSYJS", "MLN2", "WLN2", "LNWHQ2", "LNXQJY2", "LNXX2", "LNCZ2", "LNGZ2", "LNDXZK2", "LNDXBK2", "LNSSYJS2", "LNBSYJS2", "MLN3", "WLN3", "LNWHQ3", "LNXQJY3", "LNXX3", "LNCZ3", "LNGZ3", "LNDXZK3", "LNDXBK3", "LNSSYJS3", "LNBSYJS3", "WHQ", "XQJY", "XX", "CZ", "GZ", "DXZK", "DXBK", "SSYJS", "BSYJS", "SSH", "FSH", "lng", "lat", "is_qianhai", "DISTRICT_NAME", "DISTRICT_CODE", "STREET_NAME", "STREET_CODE", "COMMUNITY_NAME", "COMMUNITY_CODE", "occur_period", "occur_period_year", "occur_period_month", "org_id", "org_name", "area_code", "data_time", "TJNY") SELECT '933f35f92e5d4b19a7f9334452fe5a99', '4403060000000000000', 54, '440306000000', 23, 31, 0, 0, 0, 0, 0, 7, 10, 3, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 11, 14, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 5, 8, 36, 2, 0, 16, 38, '113.861892600000004', '22.580441539999999', '1', '宝安区', '440306000000', '西乡街道', '440306000000', '盐田社区', '440306000000', 202212, 2022, 12, NULL, NULL, NULL, '2023-06-01 00:00:00', '2022-12-01 00:00:00' FROM DUAL;
```
需要注意的是,达梦数据库的表名、列名都需要使用双引号包裹起来,而且数据值需要使用单引号包裹起来。同时,达梦数据库也不支持直接使用 VALUES 插入数据,需要使用 SELECT 和 DUAL 语句。
阅读全文