时间:2021-07-01 10:21:17 帮助过:4人阅读
示例1:Access
INSERT INTO ZD_DJDCB (DJH,ZDSZ)
VALUES (‘150105101204JC00428‘, ‘北: 地块1‘ + CHR(13) + CHR(10) + ‘东:地块2‘ + CHR(13) + CHR(10) + ‘南:地块3‘ + CHR(13) + CHR(10) + ‘西:地块4‘)
示例2:Oracle
INSERT INTO ZD_DJDCB (DJH,ZDSZ)
VALUES (‘150105101204JC00428‘, ‘北: 地块1‘ || CHR(13) || ‘东:地块2‘ || CHR(13) || ‘南:地块3‘ || CHR(13) || ‘西:地块4‘)
SQL语句中的换行符
标签: