Viewing 13 posts - 286 through 298 (of 298 total)
Great news. The clustered index physically orders the data on disk. Updating one table from another probably does a Join and Joining on data from two tables where the data...
January 13, 2006 at 8:36 am
Yep - Estimated execution plan is a great tool.
I know you have a drop dead of Monday but I wold consider killing the job and putting a CLUSTERED INDEX on...
January 13, 2006 at 4:37 am
Hi Ben - hope you are OK! Does the execution plan look OK, Is it using indexes on the dunns number?
January 13, 2006 at 3:50 am
Hi Ralf - I think SQL service packs are cumulative so sp4 should include sp 1..3
I get mine here http://support.microsoft.com/kb/290211/EN-US/
Allen
January 13, 2006 at 3:06 am
Sorry - I was not clear.
This problem did occur under XP and was fixed by AS sp1. So perhaps AS sp1 would fix the problem under yuor W2k installation.
January 12, 2006 at 9:24 am
You could use a stored proc
CREATE PROCEDURE rpDeptSalesValue @StartWeek INT, @EndWeek INT
AS
SELECT
Sales.SalDept
Sum(SalesValue)
FROM
Sales
WHERE
SalWeekNo Between @StartWeek AND @EndWeek
GROP BY Sales.SalDept
January 12, 2006 at 8:29 am
I see you are runningWin 2000 but I understand that for XP this problem was solved in Analysis Services sp1.
January 12, 2006 at 8:22 am
Oops - thanks Giles - I missed that.
Yep - different collations just cause pain. I try to have a standard base SQL build here but even so sometimes you need different...
January 12, 2006 at 7:53 am
Hi Ben,
I think your first UPDATE looked better from a set based approach. The second one has too many sub selects for me.
I would probably look at ...
1. Indexes and...
January 12, 2006 at 5:27 am
I think you have two options.
Change the collation on the tables so that the collation is the same using ALTER TABLE. The easiest way here is to generate ALTER TABLE...
January 12, 2006 at 3:25 am
I think you need to wrap square brackets around your invalid column names.
December 22, 2005 at 7:51 am
Not sure if this is the cause but CRLF is x0D0A Char(13) + Char(10)
December 22, 2005 at 7:46 am
Agree with above regarding memory. MS advised me not to use Boost Fibers and not to limit processor usage, Windows 2003 and SQL work closely enough not to require too...
December 22, 2005 at 6:49 am
Viewing 13 posts - 286 through 298 (of 298 total)