Viewing 6 posts - 1 through 6 (of 6 total)
Server Objects, Linked Servers, Providers, SQLNCLI. Right-click and choose Properties...
Be very careful about changing settings.
July 16, 2009 at 1:48 pm
In that case, take a look at ISNULL() and COALESCE() to be able to go through a list of columns and return the value from the first non-null column.
February 21, 2007 at 2:37 pm
Take out the DISTINCT from the query -- the GROUP BY is collapsing the non-aggregated rows to their distinct values already. Also, I'm assuming that the difference between "a.pcode" in...
February 21, 2007 at 2:33 pm
Quote: "In essence what I want is to know when the filler order id is repeated on a different customer."
SELECT a.FillerOrderID, a.Customer, b.Customer
FROM Orders a
INNER JOIN Orders b
...
February 20, 2007 at 8:54 am
This is somtimes known as a fishhook join/relation, since the line representing the relation can be shaped like a fishhook. The classic example is:
CREATE TABLE Employee2
(EmpID INT PRIMARY KEY,
...
February 13, 2007 at 4:09 pm
And yet another reason not to use SELECT * in a view.
February 6, 2007 at 6:45 am
Viewing 6 posts - 1 through 6 (of 6 total)