Viewing 15 posts - 46 through 60 (of 77 total)
If I was in hurry I would go with something like....
-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for...
June 11, 2009 at 4:53 pm
I've seen a job which 'rebuilds' indexes to cause the log files to grow pretty big. Not quite to 4 x the size of the data file however.
May 27, 2009 at 5:00 pm
I think I read some where that after adding a new environment variable that you have to reboot. Is that true?
May 15, 2009 at 4:56 pm
I did a truncate table and that sorted it - thanks.
The database used to be on a SQLServer 2000 machine, so I guess that the issue was left over...
May 11, 2009 at 7:00 am
sp_spaceused 'ImportCustomer'
Gives....
name=ImportCustomer
rows=0
reserved=874776 KB
data=571048KB
index_size=16KB
unused=303712KB
thanks
David
May 11, 2009 at 3:37 am
Is using NOLOCK a good idea? Quite a lot of people post sql on this site where they are specifying it, but I have always avoided its use.
My...
March 20, 2009 at 5:51 am
A possible sign that your statistics are out of date is if the actual and estimated row counts in the execution plans are very different.
I expect that you know, but...
March 16, 2009 at 1:07 pm
You might be able avoid the key lookup (28%) by including the following columns on your index
[DWH_Reporting].[dbo].[rep_business_unit].rep_bu_key, [DWH_Reporting].[dbo].[rep_business_unit].bu_client_name, [DWH_Reporting].[dbo].[rep_business_unit].bu_manager_name, [DWH_Reporting].[dbo].[rep_business_unit].bu_facility_manager_name, [DWH_Reporting].[dbo].[rep_business_unit].bu_category_02_name
Also, can the union be a union all ...
March 10, 2009 at 3:58 am
N G (1/28/2009)
your solution is exactly the kind of thing we are looking for; if you don't...
January 29, 2009 at 1:08 am
A couple of options we looked (are looking at) are
Using a SafeSentry USB hard drive. This is both fire and water proof. A bit heavy to carry home...
January 28, 2009 at 4:53 pm
Out of interest, what's the performance like if you run the sql without the joins to your validation list.
ie. exclude the joins past this bit and remove some columns from...
January 23, 2009 at 4:58 pm
Have you tried updating the statistics on the tables
Also, you could try the MAXDOP 1 option to prevent the parallel plan
David
January 22, 2009 at 3:55 pm
To get around point 2, you could have the policy of running the scripts against the database which is the exact copy of live before deploying it on to...
January 20, 2009 at 5:43 pm
Why not have two databases, a dev one and a support one. The support is created each night based on a backup of the live database. The dev...
January 20, 2009 at 5:03 pm
Not sure that I fully understand your question, but this might help
select *
from Products P
join Products P2 on P.ProductName = P2.ProductName
and...
January 5, 2009 at 4:55 pm
Viewing 15 posts - 46 through 60 (of 77 total)