/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT * FROM MyTable WHERE @param IS NULL OR ColumnToFilter = @param