关于PB中用SQL语句in的用法
in在PB程序(数据库是ORACLE)查询中怎么写嗯:比如
select count(*) into:ll_cnt from id in(‘a’,‘b’,‘c’,‘d’);PB调试是报错的,该怎么样写嗯
select count(*) into:ll_cnt from id in(:ls_id); 也报错该怎么样写嗯
[解决办法]
select count(*) into :ll_cnt from 表 where id in(‘a’,‘b’,‘c’,‘d’);
[解决办法]
看样子楼主的引号是全角的
[解决办法]