Split one field/column into Multiple Columns with varying figure counts SQL Access

廉价感情. 提交于 2019-12-25 11:04:52

问题


In Access, I need to write a SQL query to separate these rate codes into separate fields/columns from looking like this:

$= ** ;= AA AC BB1 CA5 CC4 CC5 CC6 CC7 CC9 CD1 CI CR D0 D1 D2 D3 D9 F> F> 
FA7 
FA9 FB1 HA6 KJ P* P? PW PZ QG V4 WJ 1D 2O

$= ** ;= AA AJ BB1 CA5 CC4 CC5 CC6 CC7 CC9 CD1 CI CR D. D0 D1 D2 D3 D9 FA7 
FA9 
FB1 HA6 I} KJ P( PW PZ QG V4 1A 1D 2V 3}

To this:

AA BB1 CA5 P?
AA BB1 CA5

I've researched this topic extensively but there is no question regarding lines with varying figure counts. I know there will be a lot of columns but that's what is desired.

Table Name: _Raw

Field Name: Code

来源:https://stackoverflow.com/questions/45315638/split-one-field-column-into-multiple-columns-with-varying-figure-counts-sql-acce

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!