Viewing 15 posts - 2,611 through 2,625 (of 10,144 total)
Eric M Russell (2/18/2015)
Resender (2/2/2015)
I always do
WHERE 1 = 1
I can't remember where I picked this habit up...
February 19, 2015 at 1:29 am
Velveeta22 (2/18/2015)
ChrisM@Work (2/18/2015)
February 18, 2015 at 8:23 am
In the t4 part of the query, there are significant differences between actual and estimated number of rows / number of executions, indicating that statistics may be wildly out of...
February 18, 2015 at 6:18 am
Velveeta22 (2/17/2015)
February 18, 2015 at 2:30 am
Here's another way:
SELECT
a.[Pax ID],
a.[Flight Date],
a.[Flight Number],
[Last Mod Date] = CASE WHEN x.[Pax ID] IS NULL THEN a.[Last Mod Date] ELSE x.[Last Mod Date] END,
[Status] = CASE WHEN x.[Pax ID]...
February 18, 2015 at 2:25 am
Velveeta22 (2/17/2015)
February 17, 2015 at 8:58 am
Can you post the *actual* plan?
February 17, 2015 at 8:49 am
rodjkidd (2/17/2015)
ChrisM@Work (2/17/2015)
dwain.c (2/16/2015)
ChrisM@Work (2/16/2015)
rodjkidd (2/16/2015)
Hey Chris,How likely is the chance now of you turning up Thursday at SQL Bits?
Rodders...
I've booked the day off, mate - need 5 minutes to...
February 17, 2015 at 6:25 am
dwain.c (2/16/2015)
ChrisM@Work (2/16/2015)
rodjkidd (2/16/2015)
Hey Chris,How likely is the chance now of you turning up Thursday at SQL Bits?
Rodders...
I've booked the day off, mate - need 5 minutes to book the...
February 17, 2015 at 3:13 am
rodjkidd (2/16/2015)
ChrisM@Work (2/16/2015)
rodjkidd (2/16/2015)
ChrisM@Work (2/16/2015)
rodjkidd (2/16/2015)
Hey Chris,How likely is the chance now of you turning up Thursday at SQL Bits?
Rodders...
I've booked the day off, mate - need 5 minutes to...
February 17, 2015 at 3:12 am
TomThomson (2/16/2015)
ChrisM@Work (2/16/2015)
TomThomson (2/16/2015)
...
Stop digging, Tom! For goodness' sake, you're coming across as a cranky old fella with a short fuse. This is not what we are used to seeing...
February 17, 2015 at 3:11 am
Velveeta22 (2/16/2015)
DECLARE @p0 DATETIME = '2099-09-09 00:00:00.000';
DECLARE @p1...
February 17, 2015 at 1:50 am
sgmunson (2/16/2015)
AND O.CompanyClientMemberID IS NOT NULL
That field is already part of the rest of the JOIN condition (the specific line follows) based...
February 17, 2015 at 1:33 am
First off, here's a modified ddl / dml script. It's a little more compressed than the original, and possibly easier to adjust for data changes:
CREATE DATABASE OutBox;
GO
USE [OutBox]
GO
---------------------------------------------------------------------------------------------------
-- [dbo].[Outbox]
---------------------------------------------------------------------------------------------------
SET ANSI_NULLS...
February 17, 2015 at 1:24 am
rodjkidd (2/16/2015)
ChrisM@Work (2/16/2015)
rodjkidd (2/16/2015)
Hey Chris,How likely is the chance now of you turning up Thursday at SQL Bits?
Rodders...
I've booked the day off, mate - need 5 minutes to book the...
February 16, 2015 at 7:56 am
Viewing 15 posts - 2,611 through 2,625 (of 10,144 total)