问题描述:
使用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
时间: 2024-08-30 10:13:59