Viewing 15 posts - 12,691 through 12,705 (of 18,923 total)
October 5, 2005 at 12:57 pm
There's just no need for dynamic sql here... what's the problem??
October 5, 2005 at 12:54 pm
All I can find is System.Data on google, but I have no way of testing it.
October 5, 2005 at 12:29 pm
Then I'd go back to my original assumption... Check out the 2k5 books online, maybe they have the explaination.
October 5, 2005 at 12:27 pm
I c... too bad you can't do anything about it.
October 5, 2005 at 12:21 pm
What does the server errlog says?
Does the Windows' log help?
October 5, 2005 at 12:15 pm
Can you post the table definition, sample data and the incorrect results sets VS the correct on so we can figure it out?
October 5, 2005 at 12:11 pm
Or maybe this is the error message you are getting!!!
What happens if you move the rank() function in the where instead of the alias name (assuming it's even possible)?
October 5, 2005 at 12:08 pm
This is just an assumption, but I think the the result set must be created first for the RANK() function to be able to be executed. A little like...
October 5, 2005 at 12:07 pm
Please do not cross-post, we monitor all boards.
Finish the thread here :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=149&messageid=226335
October 5, 2005 at 12:04 pm
Why not add a composite foreign key on those columns?
October 5, 2005 at 11:35 am
This is a generated code. I know it can be written in a shorter fashion, but at least it'll get you started :
P.S. MyCn is a global connection...
October 5, 2005 at 11:32 am
No clue... never used that parameter. I just found it on connectionstrings.com.
October 5, 2005 at 11:28 am
Let me make this clear once and for all : THAT'S NOT THE WAY TO CODE.
What do you need to do exactly?
October 5, 2005 at 11:25 am
Also, those kind of questions must be asked before the user hits execute. If you need input after something execute, then you need to ask that question after the...
October 5, 2005 at 10:17 am
Viewing 15 posts - 12,691 through 12,705 (of 18,923 total)