0
我在修改SSIS轉換的連接鍵時遇到了一些麻煩。演員表和子串
SELECT year_time, substring(rtrim(cast(region_code+county_code+district_code as varchar(100)), 5,4)as DR, rtrim(ltrim(T1.district_name)) as 'DNR', SUM(CAST(K12 AS INT)) AS 'TR'
FROM Database_Table
GROUP BY year_time, region_code+county_code+district_code, district_name
order by year_time, district_code_raw, district_name_raw
我得到一個錯誤,我的rtrim函數需要1個參數。我相信錯誤在串聯。
您是否收到錯誤?有什麼麻煩? – Taryn
我不知道你的問題在這裏。你沒有問過,也沒有說出什麼麻煩...... –
rtrim函數需要1個參數 – Tone