sql 行轉列
with a as (select '123,456,789,098' id from dual)
select regexp_substr(id,'[^,]+',1,rownum) id from a
connect by rownum<=length(regexp_replace(id,'[^,]+'))
:x 不怎麼懂,先存一下好了
select regexp_substr(id,'[^,]+',1,rownum) id from a
connect by rownum<=length(regexp_replace(id,'[^,]+'))
:x 不怎麼懂,先存一下好了
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
[Unity][存檔]PlayerPrefs同一關鍵字存儲的數據是否會受到影響
void Start () { PlayerPrefs.SetInt("Test001",101); PlayerPrefs.SetInt("Test002", 202); Pl
如何解決"0x7c93ab0a"指令引用的"0x00000010"內存。該內存不能爲"written"。
轉自:[url]http://zhidao.baidu.com/question/137762779.html?fr=ala1[/url]內存不能爲r
24小時熱門文章