Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
280 Points
76 Posts
Jan 25, 2012 11:56 AM|LINK
Why you don't take variant with simple 'WHERE'?
select .......
where @is_cool = 1
and @is_fast = 0
and type_id = @type_id
....
oblomov86
Member
280 Points
76 Posts
Re: What's the best practice to query SQL Server with lots of option?
Jan 25, 2012 11:56 AM|LINK
Why you don't take variant with simple 'WHERE'?
select .......
where @is_cool = 1
and @is_fast = 0
and type_id = @type_id
....