数据库行转列、列转行、字段拼接
摘要:列转行 select prd_no_chg_y, SUBSTRING(t.prd_no_chg_y, number ,CHARINDEX(';',t.prd_no_chg_y+';',number)-number) prd_no_chg from tb t,master..spt_values s
阅读全文
posted @ 2020-11-17 22:19
posted @ 2020-11-17 22:19
posted @ 2020-05-18 21:49
posted @ 2020-05-18 21:45