Viewing 15 posts - 4,396 through 4,410 (of 15,381 total)
TheSQLGuru (6/18/2014)
June 18, 2014 at 2:58 pm
Not totally sure what you are looking for but I think this is close.
select ID
, case when MIN([text]) = MAX([text]) then 'Matched' else 'Unmatched' end as MyAnswer
from #test
group by ID
June 18, 2014 at 2:55 pm
Ed Wagner (6/18/2014)
sing4you (6/18/2014)
SQLRNNR (6/18/2014)
Sean Lange (6/18/2014)
Ed Wagner (6/18/2014)
JAZZ Master (6/18/2014)
SQLRNNR (6/18/2014)
Ed Wagner (6/18/2014)
SQLRNNR (6/18/2014)
Sean Lange (6/18/2014)
whereisSQL? (6/18/2014)
Ed Wagner (6/18/2014)
JAZZ Master (6/18/2014)
Stuart Davies (6/18/2014)
bcsims 90437 (6/18/2014)
Rice Cakes...BLAH!
With all the food...
June 18, 2014 at 2:49 pm
Ed Wagner (6/18/2014)
JAZZ Master (6/18/2014)
SQLRNNR (6/18/2014)
Ed Wagner (6/18/2014)
SQLRNNR (6/18/2014)
Sean Lange (6/18/2014)
whereisSQL? (6/18/2014)
Ed Wagner (6/18/2014)
JAZZ Master (6/18/2014)
Stuart Davies (6/18/2014)
bcsims 90437 (6/18/2014)
Rice Cakes...BLAH!
With all the food being mentioned, I was getting hungry...
June 18, 2014 at 2:27 pm
Also make sure you have a GO after your procedure code or the procedure will end up trying to call itself.
Create PROC [dbo].[spAdminFundedDateee]
AS --needed
Begin
SELECT...
June 18, 2014 at 1:48 pm
SQLRNNR (6/18/2014)
Sean Lange (6/18/2014)
Argh!!! Why do some people around here consider me to be their own private consultant. They send me a PM with a vague description of something...
June 18, 2014 at 1:43 pm
whereisSQL? (6/18/2014)
Ed Wagner (6/18/2014)
JAZZ Master (6/18/2014)
Stuart Davies (6/18/2014)
bcsims 90437 (6/18/2014)
Rice Cakes...BLAH!With all the food being mentioned, I was getting hungry and had to change the topic somehow 😛
Rice Patties
Wet
Soak
Rain
June 18, 2014 at 1:42 pm
/RANT ON
Argh!!! Why do some people around here consider me to be their own private consultant. They send me a PM with a vague description of something and ask me...
June 18, 2014 at 1:24 pm
ggoble (6/18/2014)
Thank you both! Sorry for poor wording, misuse of terminology, and bad forum etiquette. :blush:
No need to apologize for anything. You asked a very legitimate question...
June 18, 2014 at 1:17 pm
Luis Cazares (6/18/2014)
You don't need the order by CID as there's only one CID on your subquery.
True that.
June 18, 2014 at 1:15 pm
Seems that once again Luis "Sir Speedy" beat me to the punchline again. 😀
June 18, 2014 at 12:51 pm
Thank you for easily consumable ddl and sample data!!!
Not sure what that crazy order is in your query. Just order by the columns you want ordered.
SELECT u.CID, ...
June 18, 2014 at 12:49 pm
ggoble (6/18/2014)
June 18, 2014 at 12:30 pm
Good grief. Maybe they should just disallow any new accounts for the remainder of the world cup. So much spam.
June 18, 2014 at 11:30 am
Stefan Krzywicki (6/18/2014)
Sean Lange (6/18/2014)
Grant Fritchey (6/18/2014)
SQLRNNR (6/18/2014)
jasona.work (6/18/2014)
GilaMonster (6/17/2014)
"No...
June 18, 2014 at 11:28 am
Viewing 15 posts - 4,396 through 4,410 (of 15,381 total)