Viewing 3 posts - 1 through 3 (of 3 total)
There are some operations where you don't want to do straight set based because it will lock an important table for too long. My usual compromise is a while...
June 1, 2015 at 12:16 pm
The article said there was a whole lot of configuration management in the front end app. So why not keep it there? Make wrapper sprocs for each set...
September 3, 2013 at 4:57 am
where (0=@pUseCondition
or (1=@pUseCondition and d1.[WeekDay]='mon')
or (2=@pUseCondition and d1.[WeekDay]='tue')
Surely it would be more readable to have
where ('none'=@days
or ('mon'=@days and d1.[WeekDay]='mon')
or ('tues'=@days and d1.[WeekDay]='tue')
Why use integers for something like that? ...
April 18, 2013 at 5:46 am
Viewing 3 posts - 1 through 3 (of 3 total)