admin管理员组文章数量:1344628
I'm using SQL in MS Access. I have a column in a table that has two types of codes in a single field:
MyColumn
XC1201923 XS381291
XC12019289 XS185691
XC12019 XS387
XC12019232 XS3274
I want to select only the text in that column up to the first space. The expected result would be something like this:
MyColumn
XC1201923
XC12019289
XC12019
XC12019232
How can I do this separation based on the first space occurrence?
本文标签: sqlSelect text up to the first spaceStack Overflow
版权声明:本文标题:sql - Select text up to the first space - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743746080a2531780.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论