Viewing 15 posts - 31 through 45 (of 312 total)
Hi all for anyone who is interested I got the script created as follows:
--Code to pull out deltas between collected IO stats.
;WITH IOPS ([IO_STALL]
...
July 3, 2013 at 8:56 am
Thanks - in the end I used the Generate scripts option of SQL
May 31, 2013 at 5:37 am
Yes thats right I was really just trying to understand the differences between the est. and actual number of rows, and the explanations you have given go some way to...
April 10, 2013 at 9:41 am
ChrisM@Work (4/9/2013)
([#d2].MARIMSSALESID) = ([DynamicsV5Realtime].[dbo].[SALESTABLE].MARIMSSALESID)
would reduce the exaggerated estimated row counts, but that's besides the point. This lot is unlikely to run well... April 10, 2013 at 3:43 am
yes I am aware its a big of a nightmare this is what happens when BAs write code. I am currently tearing my hair out re-writing it.
April 9, 2013 at 5:00 am
After reading some articles on retention periods for example here:
Even though my subscriptions are set to never expire I don't believe this is impacting on my MSRepl_commands table. I...
April 3, 2013 at 8:38 am
Hi there - I have attached it, I have already got rid of most of the RID lookups however it still takes 10mins to run I think mainly because of...
March 22, 2013 at 3:51 am
Yes you're right Lynn so I have posted it below, thanks - I have already stripped out the functions for temp tables. I would appreciate you taking a...
March 21, 2013 at 9:38 am
But it will be called once if your UDF returns a table and used in WHERE clause like that:
SELECT ...
FROM ...
WHERE Col IN (SELECT Item FROM dbo.YourSplitFunction(@InputParam))
Don't forget to...
March 21, 2013 at 5:30 am
Hi MyDoggie thanks for that some food for thought. To answer your question OPRID is nvarchar(10)
March 8, 2013 at 8:36 am
When you say how the rows are distributed what do you mean? I usually check in plans for estimated rows vs actual rows and if they are not close...
March 8, 2013 at 6:31 am
Yes there was nothing in sys.database_permissions for that role. I know it shouldn't make a difference but using SSMS 2012 to connect to a SQL 2008 instance with a...
March 4, 2013 at 5:29 am
Hi just to clarify in order to get this working I had to grant each object view definition explicitly. I noticed the DB was in SQL 2005 compatibility mode...
March 4, 2013 at 3:24 am
Viewing 15 posts - 31 through 45 (of 312 total)