求一sql语句 select * from yourtable where (para='' OR hh=para) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 bh的类型为number.select * from yourtable where (para='' OR bh = to_number(para)) 还是过程比较容易实现if para is null thenselect * from yourtable;elseselect * from yourtable where bh =para;end if; SELECT * FROM TABLE_NAME WHERE PARA='' OR BH='PARA'; if para is null thenselect * from yourtable;elseselect * from yourtable where bh =para;end if; 楼上上SQL语句可以吗?不会提示表中无此字段吧?? 将txt导入到oracle中有什么办法? 关于全文索引优化ctx_ddl.optimize_index很慢的问题 ldap 扩展功能——分页查询设置问题 如何优化oracle的sql语句 如果在存储过程中将查询的结果集生成一个xml文件? 急救:请问各位老师:怎样用SQL命令把指定用户下的表空间和表名显示出来? 求高效查询的解决方案 如何获得当前年月和某年月的天数? 一个棘手的SQL语句 在toad中如何建立一个function?急,在线等 求一把oracle数据库数据迁移到mysql的工具? 请教这个动态带单引号sql语句存储过程怎么写
select * from yourtable where (para='' OR bh = to_number(para))
select * from yourtable;
else
select * from yourtable where bh =para;
end if;
select * from yourtable;
else
select * from yourtable where bh =para;
end if;
不会提示表中无此字段吧??