Viewing 12 posts - 16 through 27 (of 27 total)
I execute the following query as advised and results was:
EventID EventDate EventDate
1 ...
May 5, 2008 at 1:22 pm
Peso perfect. It worked great. Next time I'll provide more detail. Thanks.
April 24, 2008 at 9:08 am
18 columns to be exact. I need a total for each row with a vale of "1" from there I can get the value of "2" or "3" by changing...
April 24, 2008 at 8:42 am
Matt,
You are correct again. The event.courseID=T1.courseID works like a charm. Thank you again for all your help.
April 16, 2008 at 10:22 pm
Matt / GSquared
BINGO. 😀
I used event.courseID instead of t2.courseID as you instructed and also changed (Event.CourseID=t2.CourseID) to Event.CourseId=Event.CourseID)
The results:
The golferId, courseId, Hole1 diff, Hole2 diff, and Hole3 diff.
Perfect. Thanks for...
April 16, 2008 at 2:32 pm
Tried it and got Invalid column name 'CourseID'.
Maybe I need to redo my tables. Do you think?
April 16, 2008 at 2:21 pm
The first statement has the error:
(select courseID from ScoreCard) receives an error of Invalid column Name 'courseID'.
The second statement gives me the courseID value.
April 16, 2008 at 1:34 pm
Sure.
SELECT GolferID, t2.CourseID
, t2.Hole1 - t1.Hole1
, t2.Hole2 - t1.Hole2
, t2.Hole3 - t1.Hole3
FROM ScoreCard t2
JOIN CoursePar t1 ON (t1.CourseID=t2.CourseID)
April 16, 2008 at 1:23 pm
Made the correction. Now I get:
Msg 207, Level 16, State 1, Line 6
Invalid column name 'CourseID'.
Msg 207, Level 16, State 1, Line 1
Invalid column name 'CourseID'.
April 16, 2008 at 1:08 pm
rbarryyoung thank you for your help.
I copied the query statement and received the following error message.
An expression of non-boolean type specified in a context where a condition is expected, near...
April 16, 2008 at 12:53 pm
Here is what I'm trying to accomplish.
I'm creating a golf scorecard. The golf course has pars on each hole and I would like to calculate the difference against a players...
April 16, 2008 at 11:50 am
Thank you for your reply. I've tried the EXCEPT and it only returns the value that was on table1. I need it to calculate the difference.
If column1 has a value...
April 16, 2008 at 11:02 am
Viewing 12 posts - 16 through 27 (of 27 total)