如何将管道符号分隔值拆分成不同的列? [英] How to split pipe symbol seperated value into different columns?
本文介绍了如何将管道符号分隔值拆分成不同的列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的桌子上有一个地址栏,地址栏中有地址1,地址2,城市,国家,州和密码值,用管道符号分隔。我想把它分成不同的列。我正在使用sql server 2008 R2。任何人都可以帮助我吗?
提前致谢..
Shanif
Hi All,
I have a table having an address column with address1,address2,city,country,state and pincode values seperated with pipe symbol. I want to split this into different columns. I''m using sql server 2008 R2. Can anyone help me?
Thanks in advance..
Shanif
推荐答案
查看我过去的答案:如何在Sql中使用分隔符拆分字符串 [ ^ ]
See my past answer: How a split a String using delimiter in Sql[^]
这篇关于如何将管道符号分隔值拆分成不同的列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文