Viewing 15 posts - 16 through 30 (of 95 total)
Very well written article!
March 24, 2011 at 5:10 am
Is there a trigger on the table?
March 23, 2011 at 2:54 pm
Hi Elliot,
I think this may help:
http://www.sql-server-performance.com/tips/linked_server_p1.aspx
There are a lot of caveats when running a distributed query you have a very wise developer on your team to ask this...
March 23, 2011 at 2:44 pm
I like to write it this way:
SELECT
person_identity,
COUNT(*) AS Num
FROM
(
SELECT
person_identity,
person_id
FROM
#persons
GROUP BY
person_identity,
person_id
) AS PersonDistinct
GROUP BY
person_identity
HAVING
COUNT(*) > 1;
But it does not seem to perform any better, query plans are almost the...
March 23, 2011 at 2:38 pm
Here is a great article to get started:
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
March 23, 2011 at 12:20 pm
Too many joins...
cartesian product...
No test data...
Unformatted code...
Help us help you, divide the code into smaller logical units and try to formulate a more specific question.
March 23, 2011 at 12:18 pm
Stuart Davies (3/16/2011)
Not as simple as that sadly, SSIS only puts out the decimal point in the data - no thousands marking.
Just to make sure we're on the same page...
March 16, 2011 at 2:50 pm
Stuart Davies (3/16/2011)
Opening the workbook, the column is a number formatted as text (has the...
March 16, 2011 at 11:46 am
Fun!
--==== Script test data
DECLARE @tblRecord TABLE
(
RecordID INT,
LoggedDate DATETIME NOT NULL
)
INSERT
@tblRecord
SELECT 987, '20110205' UNION ALL
SELECT 933, '20110206' UNION ALL
SELECT 784, '20110206' UNION ALL
SELECT 128, '20110207' UNION ALL
SELECT 748, '20110208' UNION...
March 15, 2011 at 10:23 am
romanoplescia (1/19/2011)
January 19, 2011 at 7:20 am
romanoplescia (1/18/2011)
January 18, 2011 at 9:34 am
romanoplescia (1/18/2011)
January 18, 2011 at 7:26 am
Intriguing
What type of object are you using as your SQL task's datasource? (native?)
What does the SP do?
January 17, 2011 at 12:03 pm
Grant Fritchey (1/11/2011)
Maxim Picard (1/11/2011)
Are you referencing cteGetNewVSOldGroup later in your script?
That may be an issue as well, but if you try to hop a database and reference a CTE,...
January 11, 2011 at 8:30 am
Are you referencing cteGetNewVSOldGroup later in your script?
January 11, 2011 at 8:15 am
Viewing 15 posts - 16 through 30 (of 95 total)