摘要: oracle查询操作注意事项1、模糊查询如果要将通配符%和_作为字符值使用,必须在escape后使用转义字符,举例如下:--查找g3e_username字段以‘PT_’开头的记录select * from G3E_DIALOGTAB where g3e_username like 'PTa_%' escape 'a'2、order by 子句的使用当在select语句中同时包含有多个子句(where,group by,having,order by)等时,order by必须是最后一条子句。3、关于多表插入的问题使用all操作符执行多表插入insert all 阅读全文
posted @ 2011-04-22 15:02 蓝紫 阅读(1007) 评论(0) 推荐(0) 编辑