Viewing 15 posts - 6,346 through 6,360 (of 18,926 total)
The great thing about Michelle's script is the history. With further analysis I could spot ± 100 indexes that needed to be moved to 80 fill factor instead of...
May 9, 2011 at 8:00 am
Works for me now...
Lowell (5/9/2011)
Ninja's_RGR'us (5/9/2011)
CASEWHEN axxia01.dbo.nmnomtrn.nt_addesc = 'N'
THEN axxia01.dbo.nmnomtrn.nt_trdesc,
Remove the comma at the end of that last line
yep i created...
May 9, 2011 at 6:38 am
I use her script and it works perfectly.
Rebuild the index will update those stats.
I personnally just run this daily (large maint. window too and it takes 15 minutes to run...
May 9, 2011 at 6:36 am
CASE
WHEN axxia01.dbo.nmnomtrn.nt_addesc = 'N'
THEN axxia01.dbo.nmnomtrn.nt_trdesc,
Remove the comma at the end of that last line
May 9, 2011 at 6:31 am
"cast(curamount/ISNULL(NULLIF(sum(curamount), 0), 1) over (partition by employeeid,docdate) as decimal (10,4)) as Total"
May 9, 2011 at 6:29 am
Edward-445599 (5/9/2011)
Just tested it in a SP2 enviroment and its much quicker
Awesome, post that execution plan too plz.
May 9, 2011 at 6:22 am
Please post the plan (actual plan, not estimated).
Are the index defragmented and the stats up to date?
May 9, 2011 at 5:55 am
GilaMonster (5/6/2011)
Yet another thread on the same problem. No further replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1102345-391-1.aspx
Thanks Gail, I had successfully forgotten the 3 other threads he started...
May 6, 2011 at 1:46 pm
I forgot who said that to his boss / client but it went something like this.
We don't want any downtimes.
Sure, how many Millions do you have budgeted for this solution?
Errm,...
May 6, 2011 at 1:43 pm
ColdCoffee (5/6/2011)
Ninja's_RGR'us (5/6/2011)
Alright... let's just call it friday afternoon and time to go home.l8r! ;-):-P:-D:hehe::smooooth:
Friday afternoon, and going HOME ?? :w00t::-D
It's already 3:30 PM here. Was about time I...
May 6, 2011 at 1:39 pm
Alright... let's just call it friday afternoon and time to go home.
l8r! ;-):-P:-D:hehe::smooooth:
May 6, 2011 at 11:35 am
ColdCoffee (5/6/2011)
Ninja's_RGR'us (5/6/2011)
Crap code too!!!!!!!!!!:w00t:😛
ya but you beat me to it :w00t:
So somehow it must be your fault :hehe:
May 6, 2011 at 11:26 am
Those are called jobs.
Check it out in books online.
May 6, 2011 at 11:25 am
DECLARE @openorder INT
SET @openorder = 2
DECLARE @tbl TABLE (openorder INT)
INSERT INTO @tbl (openorder)
SELECT 0
UNION ALL
SELECT 1
UNION ALL
SELECT 2
UNION ALL
SELECT 3
UNION ALL
SELECT 4
--UNION ALL
SELECT
*
FROM
...
May 6, 2011 at 11:19 am
Viewing 15 posts - 6,346 through 6,360 (of 18,926 total)