领域中的空白 [英] white space in field

查看:65
本文介绍了领域中的空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

ho从sql server 2008中的字段值中删除空格

例如

字段名称名称"

字段值"asdas"

如何删除这些空格

因为当我想访问该字段时

错误来了,找不到字段值

hi to all!

ho to remove spaces from field value in sql server 2008

e.g.

field name "Name"

field value "asdas "

how to remove these blank spaces

becouse when i want to access this field

the error came could not find field value

推荐答案

select LTRIM(RTRIM(Name)) from YourTable


这篇关于领域中的空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆