Viewing 15 posts - 5,326 through 5,340 (of 7,636 total)
Gary Johnson (10/10/2008)
October 10, 2008 at 8:03 pm
Ok, try replacing the calls in the Query with just the definition. That should help some, anyway.
October 10, 2008 at 3:50 pm
Those two UDF calls in the second subquery are probably killing any chance of optimizing it right now. Can you post their definition?
October 10, 2008 at 3:35 pm
meichner (10/10/2008)
October 10, 2008 at 3:26 pm
tendayit (10/10/2008)
I added the SET NOCOUNT ON line as someone was saying that it missing was causing the problem.
You may need to move the corresponding SET NOCOUNT OFF to right...
October 10, 2008 at 10:47 am
tendayit (10/10/2008)
The following error has occurredError: Item cannot be found in the Collection corresponding to the requested name or ordinal.
Please contact system administrator
This is a client code or VB6 error,...
October 10, 2008 at 10:44 am
Chris Morris (10/10/2008)
October 10, 2008 at 6:50 am
Jeff Moden (10/9/2008)
That would grab /*__*/ if it's on the same line as some code of embedded within a statement.
Plus, * is an XQuery wildcard.
October 9, 2008 at 9:03 pm
Jeff Moden (10/9/2008)
True enough... but have you ever see it used for anything other than a delimiter? 🙂
I've seen it used for emoticons-> :Þ
October 9, 2008 at 8:32 pm
Jeff Moden (10/9/2008)
Yeah... that's the ticket. I lost track of this post... was busy feeding myself pork chops for having posted without testing. 🙂
That's my favorite cure! 😛
October 9, 2008 at 8:01 pm
Well here's one hint: There is no computer program in the world that can take a grainy .1 megapixel bank camera photo and turn it into a stunning 20...
October 9, 2008 at 12:54 pm
Here's another (simple) way to do it:
Select *
From Locations
Where NOT EXISTS( Select * From Excludes
Where Location LIKE '%'+Excludes+'%')
This is probably close to what Jeff intended to write, had...
October 9, 2008 at 12:42 pm
Fernando (10/8/2008)
:exclamation:
Hello. This might something I am not familiar with in 2005. I have to restore a database in a test environment using a production backup. No big deal there....
October 9, 2008 at 12:27 pm
You are going about this the hard way. You want to use "SUM( CASE ... )" constructs like this:
select employee_id,
employee_name,
SUM( CASE When billable = 'N' Then 1 Else 0...
October 9, 2008 at 12:19 pm
Viewing 15 posts - 5,326 through 5,340 (of 7,636 total)