Viewing 15 posts - 2,146 through 2,160 (of 5,590 total)
I've hardly used STR(), so I didn't know about all of these pitfalls. Thanks for the Spackle!
December 14, 2010 at 10:55 pm
paul.beattie (12/14/2010)
Any ideas?
Yes.
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.)...
December 14, 2010 at 7:40 pm
ASDL (12/14/2010)
December 14, 2010 at 2:26 pm
Stefan Krzywicki (12/14/2010)
December 14, 2010 at 1:52 pm
Paul White NZ (12/13/2010)
1. Truncating the staging table at the start of the SSIS package (an Execute SQL task)
2. Dropping any nonclustered indexes on...
December 14, 2010 at 8:21 am
Paul White NZ (12/13/2010)
WayneS (12/13/2010)
Did you ever do anything with that missing index on those processes in the c.u.r.s.o.r.? (Or making the CI on BatchGroup?)
I'm not dismissing the idea at...
December 14, 2010 at 8:11 am
Now to handle what HappyCat mentioned with your code:
DECLARE @Desc VARCHAR(5000)
BEGIN TRY
-- Generate a divide-by-zero error.
SELECT 1/0;
END TRY
BEGIN CATCH
...
December 13, 2010 at 9:01 pm
Did you ever do anything with that missing index on those processes in the c.u.r.s.o.r.? (Or making the CI on BatchGroup?)
December 13, 2010 at 8:58 pm
I agree 100% with shooting down Method 3.
Your DBA is a pretty smart guy for being able to do #2. Normally, I would be inclined to agree with him. However,...
December 13, 2010 at 8:49 pm
How about this?
SELECT t1.NumericalRanking,
AlphaRanking
FROM (SELECT NumericalRanking = really complicated code FROM MyTables) t1
JOIN rankings...
December 13, 2010 at 11:41 am
GilaMonster (12/12/2010)
I wonder, if I change my avatar to a photo, will I stop having people call me Mr or Sir?
That depends - do they do it in person, or...
December 12, 2010 at 1:49 pm
Phil,
So, something like this?
-- store off what you're doing so you can mark them as processed
DECLARE @TableNew TABLE (RowID INT IDENTITY, Col2 = PK of TABLE);
INSERT INTO @TableNew SELECT PK...
December 12, 2010 at 12:25 pm
Tom.Thomson (12/12/2010)
Steve Jones - SSC Editor (12/11/2010)
Tom.Thomson (12/11/2010)
Celko's been at it again, and Gus's response http://www.sqlservercentral.com/Forums/FindPost1032150.aspx is unfair to monkeys.Excellent response from Lowell and Gus.
Tom, new avatar?
Yes, it changes now...
December 12, 2010 at 12:09 pm
Jeff Moden (12/11/2010)
Try this...
I knew there was a simpler way, but I just couldn't figure it out. Thanks Jeff!
December 11, 2010 at 10:21 pm
Paul White NZ (12/11/2010)
edit: Wayne, that query plan graphic really messes up the page - how about leaving it as an attachment?
Done, sorry about that!
December 11, 2010 at 10:09 pm
Viewing 15 posts - 2,146 through 2,160 (of 5,590 total)