Viewing 15 posts - 1 through 15 (of 30 total)
Thanks for the replies. I don't want to use NOLOCK because I want to be sure that the feature is enabled before kicking off the job. A customer might have...
August 17, 2021 at 3:31 pm
November 13, 2018 at 8:29 am
sgmunson - Monday, November 12, 2018 2:46 PMWhy do this? What's the bigger picture?
We want to implement a master location and make...
November 12, 2018 at 3:51 pm
Thanks for the reply.
Co-worker gave me this code so it seems that your solution or either of these work. Only problem is that they don't check for valid objects...
September 1, 2016 at 1:23 pm
Thanks for the reply.
Sorry this is for 2008R2. 🙁
That's new for 2012
September 1, 2016 at 12:51 pm
A) Its a single query (hardly long)
B) This doesnt work for multiple vehicles
C) What if there is a tie in duehours ?
Just curious. Why do you say it doesn't...
September 16, 2009 at 9:53 am
Very nice! It took me a while to get my head around using the row number functions to eliminate the consecutive 'same status' records.
Thanks for the reply.
andrewd.smith (4/30/2009)
May 4, 2009 at 10:17 am
Sorry about the confusion. Given the date range 1/1/2009 through 3/31/2009, how many days was each consumer active during that date range. Wayne's 'quirky update' technique above seems...
April 30, 2009 at 11:11 am
Thanks for the reply. Wow, what an interesting article and technique. I can see how that might have a lot of uses. I never thought about the...
April 30, 2009 at 11:04 am
Lynn Pettis (4/29/2009)
Are you looking for the date range a customer was active, or are you asking how many days a customer was active given a specified data range?
Number of...
April 30, 2009 at 9:45 am
Thanks all for the replies.
It was an OLTP application. The DB was a bit unusual in that there were very few deletes. We (the DBAs) would...
April 14, 2009 at 1:15 pm
Thanks for the reply. It's funny you would mention the application code handling it. That's exactly why I didn't add them in the first place. I had...
April 13, 2009 at 3:23 pm
TOP limits the number of rows returned by your query. Assuming there are less than 1000 rows returned by the first query without the TOP,then adding the TOP 1000...
April 13, 2009 at 2:48 pm
Thanks. I was thinking only of the recursive trigger setting which only controls triggers calling themselves. I wasn't aware that the nested trigger setting could control this. ...
March 30, 2009 at 9:38 am
I'll see if I can fo this. Thanks
RBarryYoung (3/28/2009)
If you just merge the two triggers together, it will not trigger itself unless you have Recursive triggers enabled.
March 30, 2009 at 9:31 am
Viewing 15 posts - 1 through 15 (of 30 total)