Viewing 15 posts - 8,596 through 8,610 (of 10,144 total)
Jeff Moden (4/2/2009)
After just the first couple of posts from that self appointed, ring knocking, side stepping beach creature
from the shallow end of the gene pool 😎
RBarryYoung (4/2/2009)
Chris...
April 3, 2009 at 4:27 am
I don't think the original query does what you think it should. Try this, but comment out the INSERT line first and run only the SELECT:
INSERT INTO ExtraContact (ExtraValueID, ContactID)
SELECT...
April 3, 2009 at 3:53 am
What does this return, Karl?
SELECT e.ExtraValueID, e.ContactID
FROM ExtraContact e
INNER JOIN Contact c ON c.ContactID = e.ContactID AND c.Email IS NOT NULL
WHERE e.ExtraValueID = 98203
April 3, 2009 at 3:38 am
Hello
Can you please post the table create script for table ExtraContact?
April 3, 2009 at 3:12 am
This code generates some sample data; 250,000 rows of six data columns plus an id column which holds the correct order of the data set as described so far by...
April 3, 2009 at 1:51 am
Christian Buettner (4/2/2009)
SELECT *
, (SELECT COUNT(*) FROM b
WHERE ISNULL(col1,0) <= ISNULL(al.col1,9)
AND ISNULL(col2,0) <= ISNULL(al.col2,9)
AND...
April 2, 2009 at 2:51 pm
jsanborn (4/2/2009)
Mr. Morris
No such person has responded to this thread.
April 2, 2009 at 11:15 am
jsanborn (4/2/2009)
April 2, 2009 at 8:54 am
jsanborn (4/1/2009)
ID Col1 Col2 Col3
1 3 4 ...
April 1, 2009 at 2:26 pm
Steve Jones - Editor (4/1/2009)
Lynn Pettis (4/1/2009)
Must not be a critical piece in the scope of things, huh.At least not to his boss :w00t:
Good grief, it's the White House window...
April 1, 2009 at 10:31 am
David Burrows (4/1/2009)
Hey Bob! He's back!
Well I hope not against the wall, people tend to get shot that way :crazy:
142 posts and 10 months on essentially the same query...
April 1, 2009 at 9:08 am
-- Query 1
SELECT s.Id, s.Name, c.*
FROM school s
INNER JOIN courses c
ON c.SchoolId = s.Id
WHERE EXISTS (SELECT 1 FROM courses WHERE SchoolId = s.Id AND [Name] = 'maths')
...
April 1, 2009 at 4:06 am
Andrew Winch (3/31/2009)
Very interesting.
So what you are saying is that even with the complexity of the CASE added to the query, the number of scans needed by the UNION ALL...
March 31, 2009 at 6:38 am
Flo's already written it for you, Allan. Do you know how to do an UPDATE...FROM...?
March 31, 2009 at 6:16 am
rajeevgupta40 (3/30/2009)
so i unable to understand how query to select record with left total quantity in product table group by
productID,productname,suppliername, unitprice.
hope this explaination...
March 31, 2009 at 6:13 am
Viewing 15 posts - 8,596 through 8,610 (of 10,144 total)