Viewing 15 posts - 10,681 through 10,695 (of 18,923 total)
Can you be more specific? I can't say I would understand how to debug this problem again with the info you just provided.
TIA.
December 5, 2006 at 2:19 pm
Please follow the thread to this adress :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=146&messageid=328091
December 5, 2006 at 2:14 pm
Please follow the thread to this adress :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=146&messageid=328091
December 5, 2006 at 2:14 pm
Please follow the thread to this adress :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=146&messageid=328091
December 5, 2006 at 2:14 pm
Please post the real query you are using. This error is not possible with this code on the specified column.
For the where conditions, make sure you are using the identifier...
December 5, 2006 at 2:13 pm
What code did not work?
How did it fail (error, not returning the expected data)?
December 5, 2006 at 2:05 pm
But now you see how you can get a subset of data using a more complexe group by, then self join to get the rest of the columns for those...
December 5, 2006 at 2:03 pm
I strongly suggest you post this in the 2005 forums. That's your best chance of getting help.
And please do not cross-post. It doesn't speed anything up in the end.
December 5, 2006 at 2:00 pm
I strongly suggest you post this in the 2005 forums. That's your best chance of getting help.
And please do not cross-post. It doesn't speed anything up in the end.
December 5, 2006 at 2:00 pm
I strongly suggest you post this in the 2005 forums. That's your best chance of getting help.
And please do not cross-post. It doesn't speed anything up in the end.
December 5, 2006 at 2:00 pm
Lol, I think I overcomplicated this one a little bit in the end
.
December 5, 2006 at 1:57 pm
select * from phbasic Main
INNER JOIN
(select EmpID, MAX(CheckNumber) AS CheckNumber
from dbo.phbasic
where t2.pay_period_end = '11/25/2006'
group by EMPID) dtMaxCheck
ON Main.CheckID = dtMaxCheck.CheckID
--optional but I doubt it is required
--AND Main.EmpID...
December 5, 2006 at 1:09 pm
Yup, so where did you say I had to send that resume? ![]()
December 5, 2006 at 12:33 pm
Viewing 15 posts - 10,681 through 10,695 (of 18,923 total)