Viewing 15 posts - 106 through 120 (of 581 total)
July 5, 2006 at 11:52 am
It sounds like you are overwriting the data every night. You could retain data from the previous Monday, so people can query 'previous week' as well as 'week to date'.
(might they not...
July 5, 2006 at 11:33 am
I have advice for egg collectors. Stop killing off rare species.
For those who don't know, the saying is an old one, and refers to sucking eggs for food, a...
July 5, 2006 at 10:41 am
Nearly there, but you don't and never did need the left join (Jeff!). Your initialisation query may be once only, but the minatenance of the data isn't once only, is it. The web...
July 5, 2006 at 10:15 am
Don't reply to these except when first posted (or freshly replied to). It puts them back at the top of the list.
July 5, 2006 at 9:49 am
You are right that each time the function is called, it will undertake a sort operation.
I'll reiterate. The sort process involves only a small number of 'child' records (as restricted...
July 5, 2006 at 9:39 am
>he knows all the columns, I do not. It will be passed into procedure and vary at all the time.
Eric knows the columns in the 'before' recordset, but not the...
July 5, 2006 at 9:16 am
u.name tabowner
July 5, 2006 at 8:50 am
BTW, surprisingly but conveniently, "+" used in the EXEC() function (unlike, say, the LEN() function) is a param delimiter, not a concatenation operator!
July 5, 2006 at 6:12 am
sysjobservers must have been a view on MSDB tables. I can't be sure because I haven't got a SQL8 instance to hand. See what I mean about it being easier...
July 5, 2006 at 4:52 am
If you literally want precisely every Nth row, then you would also need to do something similar to Ryan's suggestion if the table with the identity column has had deletions.
If you...
July 5, 2006 at 4:42 am
You can get that info from poking around in MSDB.
But it might be easier and the code clearer just to have table which the monthly proc writes to, specifying the...
July 5, 2006 at 4:01 am
You only need the nested inline views (derived tables) because you are using
(select 'A' as col1, 101 as col3
union all select 'B', 203
union all select 'C', 204
union...
July 4, 2006 at 6:20 pm
A person might have an environment which contains new versions of a only a subset of the procedures required. Perhaps only the procs from a particular functional area of a db app exist...
July 4, 2006 at 5:49 pm
Viewing 15 posts - 106 through 120 (of 581 total)