Guest User

Untitled

a guest
Feb 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Select *
  2. From Table
  3.  
  4. Case when @search_Criteria = 'Products' then (Where Table.Products in (@Param1, @Param2, @Param3, @Param4, @Param5))
  5. Else @search_Criteria = 'Customer id' then (Where Table.[Customer id] in (@Param1, @Param2, @Param3, @Param4, @Param5))
Add Comment
Please, Sign In to add comment