/ Published in: SQL

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
-- DECLARE @CSV VARCHAR(MAX) SELECT * FROM some_table WHERE ',' + @CSV + ',' LIKE '%,' + some_field + ',%'
Comments
