sql - Select text up to the first space - Stack Overflow

I'm using SQL in MS Access. I have a column in a table that has two types of codes in a single fie

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743746081a4500030.html

相关推荐

  • sql - Select text up to the first space - Stack Overflow

    I'm using SQL in MS Access. I have a column in a table that has two types of codes in a single fie

    6天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信