Viewing 15 posts - 47,311 through 47,325 (of 59,064 total)
Shoot... 80MB for TempDB??? I boot the servers at work with 9GB... I doubt that I would boot any server with less than a gig for TempDB. And,...
November 10, 2008 at 8:17 pm
I actually think a loop of some sort would probably be faster for this (GAK! I can't believe I just said that! :hehe:)... except for a couple of minor...
November 10, 2008 at 8:06 pm
Heh... if you really want to throw a ball of wax at them before you decide to find a place with reasonable requirements, tell them the column should be named...
November 10, 2008 at 6:06 pm
Heh... remove the ANSI joins and add old fashioned FROM's separated by comma's with no WHERE clause to cause a join. Then, add a distinct or a group by...
November 10, 2008 at 5:57 pm
Remove the parenthesis from the parameter list... it's not a function...
November 10, 2008 at 5:52 pm
I've restructured the WHERE clause without changing any of the code... I think the problem sticks out like a sore thumb...
WHERE (ET.iSiteId = @locSITEID)
...
November 10, 2008 at 5:44 pm
eric (11/10/2008)
1, 'P1', 1, 2, 3, 4, 0
2, 'P1', 10,...
November 10, 2008 at 4:54 pm
chandrika5 (11/10/2008)
That is a good suggestion. I converted the inner select/processing to a function and am calling this function in my select statement: no cursor required
As Lynn stated, you've probably...
November 10, 2008 at 4:47 pm
Something else you might want to consider... the best hardware in the world won't solve performance problems if the code isn't quite up to it. I'd probably start by...
November 10, 2008 at 4:28 pm
Absolutely correct on all accounts, Steve... suggestions very similar to yours were made by myself and others but to no avail. I'm amazed at the number of managers have...
November 10, 2008 at 9:32 am
Mohit (11/9/2008)
Thank-you for the comments, I didn't think RBAR would be big issue in my case because the table had limited number of rows and wasn't...
November 10, 2008 at 8:47 am
That sounds more like problems with a table variable. Why aren't you using a temp table, instead?
November 10, 2008 at 6:05 am
yep... paste the following into the "help" url box...
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/d4c26311-d9f4-432c-953a-1c1042b33c97.htm
November 9, 2008 at 10:15 pm
Kishore.P (11/7/2008)
use COALESCE function instead of IsNull or NullIf.
Why? NullIf is nothing like IsNull or Coalesce and the idea of code portability is a myth.
November 9, 2008 at 10:11 pm
Viewing 15 posts - 47,311 through 47,325 (of 59,064 total)