Viewing 15 posts - 15,646 through 15,660 (of 18,923 total)
You're right, only the 2nd part of this query fails on estimated query plan.
Declare @A table (name varchar(50) not null primary key)
Select * from @A
GO
Create table #a (name varchar(50) not...
July 6, 2005 at 9:44 am
You're right, I should have executed the original code, I'd have seen the error right away. Next time I'll try to ignore those messages :
SELECT A.Event_ID, A.Course_ID
FROM ...
July 6, 2005 at 9:40 am
Yup they're really getting you by not having you in the top 10 persones in that category
.
July 6, 2005 at 9:35 am
Then I guess it's not too illegal >>
in the command prompt :
regsvr32.exe c:/winnt/system32/mscomctl.ocx
Then you should have this dll in the reference list and you "should" be able to access...
July 6, 2005 at 9:34 am
Here's one of my favorites, left by a few self proclaimed "programmers" : admire the abscence of nulls, the good use of naming convention and the correct choice of datatype...
July 6, 2005 at 9:30 am
As Noeld said and I confirmed, this should read like this :
/* Retrieve distinct Course count */
SELECT @CourseCount = COUNT(DISTINCT Course_ID) FROM #EventOpsList2
Anyone here would have spotted the error...
July 6, 2005 at 9:18 am
I wouldn't call that agressive... it's clear he doesn't know english very well and can't express himself as we can. What part did you find agrssive in there?
July 6, 2005 at 9:14 am
July 6, 2005 at 9:07 am
The column should be rtrimed automatically if you have a [n]varchar column. Are you sure that there are trailing spaces at the end . Or is it just...
July 6, 2005 at 9:05 am
Haaaaaaaaaa, there's your error.
May I suggest that you post the FAILING code next time so that we don't search for nothing.
Thanx Noeld for spotting that one.
July 6, 2005 at 9:03 am
I'm gonna restate this. This is the real performance gain you can get out of this.
July 6, 2005 at 8:57 am
I don't think you can reffer to normalization when talking about that thing. It could definitly be reworked a little bit (there seem to be a few flags missing...
July 6, 2005 at 8:55 am
Can you paste the original failing query here? Maybe I'll see something else.
July 6, 2005 at 8:48 am
Viewing 15 posts - 15,646 through 15,660 (of 18,923 total)