-2
我試圖通過逗號列表分隔的電子郵件ID的@ b.com,S @ b.com成在第SQL是我的查詢權,請給一些建議如何將逗號分隔列表發送到in子句中?
SELECT * FROM service.cs_list_of_email_ids where Email in (
SELECT regexp_substr(:[email protected],[email protected],'[^,]+', 1, level) items
FROM dual
CONNECT BY regexp_substr(:[email protected],[email protected], '[^,]+', 1, level) is not null
);
是嗎?你爲什麼問我們?它工作與否? :D – Luaan 2015-03-31 07:18:30
http://stackoverflow.com/questions/19885076/how-to-split-string-and-insert-values-into-table-in-sql-server – 2015-03-31 07:18:56