问题描述:
使用insert into 向postgreSQL数据库中插入数据时报错:Use the escape string syntax for escapes, e.g., E‘\r\n‘.
解决方案:
在插入的字符串前加上E
eg:
问题描述:
使用insert into 向postgreSQL数据库中插入数据时报错:Use the escape string syntax for escapes, e.g., E‘\r\n‘.
解决方案:
在插入的字符串前加上E
eg:
[postgreSQL] Use the escape string syntax for escapes, e.g., E'\r\n'.
原文:https://www.cnblogs.com/fatfatdachao/p/8608316.html