INSERT语句无法插入&,oracle的insert的时候&符号如何插入(转义)

只需用chr(38)替换即可:

insert into table values( 'http://localhost:8080/index.action?username=138&type=1 ');

insert into table values( 'http://localhost:8080/index.action?username=138 '||chr(38)|| 'type=1 ');

猜你喜欢

转载自blog.csdn.net/weixin_39597541/article/details/103542299