Viewing 15 posts - 1,891 through 1,905 (of 2,647 total)
guerillaunit (1/23/2012)
Jared
CE - Microsoft
January 23, 2012 at 12:48 pm
SQLKicksButt (1/23/2012)
Jared
CE - Microsoft
January 23, 2012 at 12:43 pm
My thoughts on this approach are mixed. Not being as experienced as Jason, I wonder what the implications are of updating an appliance or entering a new one. ...
Jared
CE - Microsoft
January 23, 2012 at 12:21 pm
I think you have a good start, but I would not have 1 table for the properties. This can cause you big problems later on. I would set...
Jared
CE - Microsoft
January 23, 2012 at 11:55 am
I believe that openrowset is read only. You can try using opendatasource. http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/2277719c-2484-4020-9b79-a0acb6f296e6/
Jared
CE - Microsoft
January 23, 2012 at 10:49 am
Does this query accomplish what you were trying to do?
SELECT DISTINCT toc.[Account Number],
toc.[Customer Name],
toc.[Top Parent Customer Account] AS [Top Level],
toc1.[Customer Name] AS [Top Level Cust Name],
toc.[Top...
Jared
CE - Microsoft
January 23, 2012 at 10:43 am
Ok, I'm looking at this more closely and really trying to figure out what you are trying to do, as it is not clear. Can you please provide the...
Jared
CE - Microsoft
January 23, 2012 at 10:30 am
Your joins are a bit funny as well. Why are you joining to the same table so many times? Also, why are you not using aliases like I suggested?...
Jared
CE - Microsoft
January 23, 2012 at 10:25 am
This: 'rpt.tbloraclecustomers_1' should not have a . in it and really should not have the single quotes around it. Try an alias for this AS tblOracleCustomers_1
Jared
CE - Microsoft
January 23, 2012 at 10:22 am
What are your Linked Server options set to for this specific linked server object?
Jared
CE - Microsoft
January 23, 2012 at 9:25 am
Have a look here. It is for 2005, but should be applicable to 2008 as well.
Jared
CE - Microsoft
January 23, 2012 at 8:30 am
L' Eomot Inversé (1/18/2012)
Brandie Tarvin (1/9/2012)
Jared
CE - Microsoft
January 19, 2012 at 5:38 pm
guerillaunit (1/19/2012)
Is this the right syntax for "FROM server.database.schema.table alias":"FROM [server01/prod01].[ctsreports].schema.rpt.tbloraclecustomers alias1"
Assuming that server01/prod01 is your server name, ctsreports is the database, rpt is the schema, and tbloraclecustomers is the...
Jared
CE - Microsoft
January 19, 2012 at 5:36 pm
CREATE TABLE #TEST
(
PACKAGE INT
,CODE VARCHAR(20)
,[DESCRIPTION] VARCHAR(20)
)
INSERT INTO #TEST
SELECT 10000,'CSAC','CASING'UNION ALL
SELECT 10000,'BOXC','BOXING'UNION ALL
SELECT 10000,'CSAC','CASING' UNION ALL
SELECT 12000,'BOXC','BOXING'UNION ALL
SELECT 12000,'BOXC','BOXING'UNION ALL
SELECT 12000,'BOXC','BOXING' UNION ALL
SELECT 13000,'BASK','BASKET'UNION ALL
SELECT 13000,'CSAC','CASING'UNION ALL
SELECT 13000,'BOXC','BOXING'
;
WITH RowNumbers AS
(
SELECT PACKAGE,...
Jared
CE - Microsoft
January 19, 2012 at 3:22 pm
1 more guess from me... Are you trying to identify duplicates?
Jared
CE - Microsoft
January 19, 2012 at 3:15 pm
Viewing 15 posts - 1,891 through 1,905 (of 2,647 total)