在utf8数据库里编译存储过程,遇到这个问题.
oracle9206
sql: [做了简化]
select a from t1
union all
select '1' from t2;
其中t1.a是nvarchar2类型。
解决办法很简单:
select a from t1
union all
select N'1' from t2;
在utf8数据库里编译存储过程,遇到这个问题.
oracle9206
sql: [做了简化]
select a from t1
union all
select '1' from t2;
其中t1.a是nvarchar2类型。
解决办法很简单:
select a from t1
union all
select N'1' from t2;