蜀山传赤尸是什么:这条sql语句怎么写?

来源:百度文库 编辑:中科新闻网 时间:2024/04/29 05:27:27
oracle 中怎么查看表中某字段末尾字符是空格的所有记录
select * from ua where vc2uastring like '% ' 或者select * from ua where vc2uastring like '%% '不行啊,有的没选出来。
注意! 是末尾字符是空格的都选出来啊!

shishi select * from ua where vc2uastring like '% %'

select * from ua where vc2uastring like '\% '需要一个转义符

select * from ua where vc2uastring like "% %"
好像是这相个样

如果你想得到一个数象22%
可以用select * from ua where vc2yastring like %\%