Viewing 2 posts - 1 through 2 (of 2 total)
any reason you can't just write:
select * FROM TblTest
where
SupplierId = @Input
OR
@Input = -1
November 26, 2007 at 12:54 pm
#754214
I have NEVER posted a reply to any article before. But this one deserves some praise.
I'm a developer and constantly bugging my dba for ways to make my apps runs...
July 13, 2006 at 7:14 am
#648941