Viewing 9 posts - 1 through 9 (of 9 total)
It now executes ok but is returning the wrong row(s).
August 16, 2010 at 5:33 am
Thank you.
Trying the last example I get these:
Msg 207, Level 16, State 1, Line 4
Invalid column name 'LocationID'.
Msg 207, Level 16, State 1, Line 4
Invalid column name 'LocationID'.
Msg 207, Level...
August 16, 2010 at 3:36 am
I wanted to let everyone who helped me know what I ended up doing.
1st I get all the location ID's on a specific route (usually about 20 rows).
SELECT tblLocation.ID
FROM...
August 15, 2010 at 12:38 pm
This does work after all. I was using the wrong test route.
I feel extra dumb now, but I did learn a lot here.
Thank you.
SELECT tblLocation.ID
FROM tblLocation
WHERE tblLocation.Route IS NOT...
August 12, 2010 at 3:03 am
This gives an idea of what I need:
SELECT tblLocation.ID
FROM tblLocation
WHERE tblLocation.Route IS NOT NULL
AND tblLocation.Route <> '0-0'
AND tbllocation.Inactive = '0'
AND tblLocation.Route LIKE '1010-%'
AND tblLocation.ID NOT IN
(SELECT...
August 11, 2010 at 6:13 pm
Grant Fritchey (8/11/2010)
I won't enter the debate about stored procedures or not.
Thank you.
You have some problems in your SQL code. First, why are you using DISTINCT for all the...
August 11, 2010 at 11:04 am
What I have so far was not meant to be the final product. I know the loops are poor.
I do what most of you do, I get it working any...
August 11, 2010 at 10:43 am
Eugene Elutin (8/11/2010)
August 11, 2010 at 10:19 am
Eugene Elutin (8/11/2010)
dennisv (8/11/2010)
...I don't write SQL enough to get good at it...
...
No offence, but do you seriously believe that writing "enough" in C# makes you good in it? 😉
Hornestly,...
August 11, 2010 at 7:35 am
Viewing 9 posts - 1 through 9 (of 9 total)