Viewing 15 posts - 241 through 255 (of 479 total)
andrewd.smith (2/6/2009)
SELECT K.ID_Kandidat, K.Nachname, K.Vorname, B.BerufskuerzelFROM tblKandidaten K
INNER JOIN tblK_Berufsziele B ON (K.ID_Kandidat = B.ID_Kandidat)
INNER JOIN (
SELECT K1.ID_Kandidat
FROM tblKandidaten K1
INNER JOIN tblK_Berufsziele B1 ON (K1.ID_Kandidat = B1.ID_Kandidat)
WHERE...
February 6, 2009 at 7:20 am
Michael Niemand (2/6/2009)
February 6, 2009 at 7:04 am
I just read the posts which appeared while I was writing mine
What I think you need is
SELECT
K.ID_Kandidat, Nachname, Vorname
FROM
tblKandidaten K LEFT OUTER JOIN tblK_Berufsziele B
ON K.ID_Kandidat = B.ID_Kandidat
WHERE...
February 6, 2009 at 6:59 am
Michael Niemand (2/6/2009)
WHERE Berufskuerzel = 'CIMP' AND Berufskuerzel = 'INS'
-- This of course doesn't work ...
This is asked for records where Berufskuerzel is equal to both 'CIMP' and 'INS'...
February 6, 2009 at 6:55 am
I don't know where you guys determined that the order was by max rating descending first. Nothing that Judy posted mentioned this.
My guess, from her examples, was that she...
February 5, 2009 at 6:48 am
By the way, I would also congratulate anyone who takes the trouble to write an article, even though, in this case, I think that the solution has limited application. In...
February 5, 2009 at 5:12 am
clifford.wilson (2/4/2009)
February 5, 2009 at 4:58 am
philcruz (2/4/2009)
Derek Dongray (2/4/2009)
February 5, 2009 at 3:11 am
Bruce W Cassidy (2/4/2009)
Lynn Pettis (2/4/2009)
Bruce W Cassidy (2/4/2009)
Bob Hovious (2/4/2009)
I just have to blink and be the first to ask.Is this thread dead?
[font="Verdana"]Dunno about the others, but I've been...
February 4, 2009 at 4:42 pm
philcruz (2/4/2009)
CREATE VIEW [dbo].[vw_UnsubscribedEmails]
AS
SELECT email, dateCreated, source
FROM dbo.unsubscribedEmails
UNION
SELECT email, NULL AS dateCreated,...
February 4, 2009 at 4:29 pm
gary.proctor (2/4/2009)
This is the way I would do it, but I am sure there are many more ways:SELECT CONVERT(CHAR(6),CONVERT(SMALLDATETIME, GETDATE()), 112)
Bruce W Cassidy (2/4/2009)
[font="Verdana"]Mine would be:
selectconvert(varchar(6), getdate(), 112)
[/font]
The only thing...
February 4, 2009 at 4:03 pm
Could you explain what the result order is? I could make a guess, but would prefer if you stated it before I try to reproduce it.
February 4, 2009 at 11:03 am
I found it was useful to add a Relative working/business day to the calendar table, thus avoiding the need for the select row_number subquery/CTE.
And since the hard work is all...
February 4, 2009 at 10:34 am
This works in 2005, don't think it's a new feature... 🙂
create table #t (r int, b int)
insert #t values(97,123)
insert #t values(96,456)
insert #t values(95,123)
insert #t values(90,123)
insert #t values(95,456)
select r,b from #t...
February 4, 2009 at 9:10 am
You don't actually need the day...declare @dt varchar(10)
set @dt = 'AUG2007'
select year(convert(datetime,@dt))*100+month(convert(datetime,@dt)) as period -- int
select convert(char(6),Convert(datetime, @dt), 112) as Period -- char(6)
February 4, 2009 at 7:03 am
Viewing 15 posts - 241 through 255 (of 479 total)