Viewing 11 posts - 1 through 11 (of 11 total)
Actually, I think I got this thing working now, using Jeff's advised code with a bit of ingenuity. I think this post is done, unless I develop an extended problem...
October 13, 2007 at 5:59 pm
Im finding it difficult to implement that case structure into a select statement. Im trying
DECLARE @ColumnMatches INT
SELECT a.Username, a.Gender, a.Photograph, a.Description_text, a.Voice_Message, @ColumnMatches
AS "Matches",
CASE "Matches"
WHEN a.Age_Range =...
October 13, 2007 at 5:31 pm
Here's an extended problem (which I was unable to solve and not sure if it can be at all).
So Jeff's code works, but another field that I have in the...
October 13, 2007 at 4:49 pm
Thanks for the reply Jeff, is there any way to do it using simple Count functions?
Because I'll have to write a function/stored procedure to use the CASEs won't I?
October 13, 2007 at 4:38 pm
Awesome, that works as far as I can tell, thank you very much Jeff!
October 13, 2007 at 4:26 pm
Okay, no one's replying. But I'm almost there, just did it using a FULL OUTER JOIN (I think its working okay, but I don't have much dummy data in my...
October 13, 2007 at 1:09 pm
I want him to have SELECT (only) from the view and modify base tables, but I too am now pretty sure he needs permissions such as UPDATE/INSERT/DELETE to be able...
September 14, 2007 at 6:25 am
Is that the only way though? what about if BOB only had a SELECT permission on the view?
And again whats the syntax to update the base table, does it just...
September 13, 2007 at 1:12 pm
yeah thats the exact code I have so you didnt really help there. But how do you mean yours worked, like when you login as the newuser what happens, do...
September 12, 2007 at 1:47 pm
Hmm, I might need to check the specification, but I don't think this is about users, I'm pretty sure there is just one user, the administrator and technically he has...
September 11, 2007 at 9:25 pm
That seems rather complex, I think there should be an easier way (if not I guess I will have to try your suggestion). Plus I don't want to rollback transaction,...
September 11, 2007 at 3:52 am
Viewing 11 posts - 1 through 11 (of 11 total)