Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Select *
- From Table
- Case when @search_Criteria = 'Products' then (Where Table.Products in (@Param1, @Param2, @Param3, @Param4, @Param5))
- Else @search_Criteria = 'Customer id' then (Where Table.[Customer id] in (@Param1, @Param2, @Param3, @Param4, @Param5))
Add Comment
Please, Sign In to add comment