单列函数 去空格 trim()

 

# 查询时  去掉前后的空格
select  * from emp where ENAME=trim(' SMITH')

 

 

posted @ 2023-10-17 19:27  胖豆芽  阅读(7)  评论(0)    收藏  举报