Forum Replies Created

Viewing 15 posts - 2,536 through 2,550 (of 10,144 total)

  • RE: Number of times a specific day of month occurs between 2 dates?

    rarara (3/27/2015)


    Hi, am trying to get to grips with the syntax needed for this...here is one set of example values...

    StartDate(this is numeric): 20150305

    EndDate(this is numeric): 20150905

    MonthlyPaymentDay: 1

    PaymentAmount: 125

    How do...

  • RE: Are the posted questions getting worse?

    Question of the day: what datatype is the Estimated Number of Rows (or Estimated Subtree Cost) displayed in the property sheet of the SELECT operator in the estimated plan of...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/27/2015)


    ChrisM@Work (3/27/2015)


    Brandie Tarvin (3/27/2015)


    So here's a tale from my workplace that will change up the conversation...

    I was having a Really Bad Day last week. I was trying to...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/27/2015)


    ChrisM@Work (3/27/2015)


    Brandie Tarvin (3/27/2015)


    dwain.c (3/26/2015)


    ChrisM@Work (3/26/2015)


    Where’s a plan showing huge Estimated Operator Costs when you need one? Have a look at the estimated plan for this conditional query...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/27/2015)


    So here's a tale from my workplace that will change up the conversation...

    I was having a Really Bad Day last week. I was trying to send an email...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/27/2015)


    dwain.c (3/26/2015)


    ChrisM@Work (3/26/2015)


    Where’s a plan showing huge Estimated Operator Costs when you need one? Have a look at the estimated plan for this conditional query i.e. the IF...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/27/2015)


    ChrisM@Work (3/27/2015)


    TomThomson (3/27/2015)


    dwain.c (3/26/2015)


    ...

    Edit: This query shows the same thing:

    IF EXISTS (SELECT 1 FROM (VALUES(CAST(1 AS BIT))) d (n))

    SELECT * FROM sys.all_columns;

    Which means that it has something...

  • RE: Duplicates

    I'd be tempted to work on each table in turn, logging the duplicated reference numbers. There are loads of ways of detecting dupes. Here's one of them which works nicely...

  • RE: Are the posted questions getting worse?

    TomThomson (3/27/2015)


    dwain.c (3/26/2015)


    ...

    Edit: This query shows the same thing:

    IF EXISTS (SELECT 1 FROM (VALUES(CAST(1 AS BIT))) d (n))

    SELECT * FROM sys.all_columns;

    Which means that it has something to do with...

  • RE: Are the posted questions getting worse?

    dwain.c (3/26/2015)


    ChrisM@Work (3/26/2015)


    Where’s a plan showing huge Estimated Operator Costs when you need one? Have a look at the estimated plan for this conditional query i.e. the IF as well...

  • RE: Are the posted questions getting worse?

    Where’s a plan showing huge Estimated Operator Costs when you need one? Have a look at the estimated plan for this conditional query i.e. the IF as well as the...

  • RE: The Worst Comments

    mister.magoo (3/26/2015)


    ChrisM@Work (3/26/2015)


    Phil Parkin (3/26/2015)


    dwain.c (3/26/2015)


    Gary Varga (3/26/2015)


    dwain.c (3/25/2015)


    ...I beginning to think that when I wrote this article (based on a quotation from Jeff):

    Make it Work, Make it Fast, Make...

  • RE: The Worst Comments

    Phil Parkin (3/26/2015)


    dwain.c (3/26/2015)


    Gary Varga (3/26/2015)


    dwain.c (3/25/2015)


    ...I beginning to think that when I wrote this article (based on a quotation from Jeff):

    Make it Work, Make it Fast, Make it Pretty[/url]

    Maybe...

  • RE: The Worst Comments

    Jeff Moden (3/24/2015)


    Eirikur Eiriksson (3/24/2015)


    Wayne West (3/23/2015)


    Jeff Moden (3/22/2015)


    Steve Jones - SSC Editor (3/16/2015)


    Eirikur Eiriksson (3/13/2015)


    Digressing slightly, how would the threadizens describe the optimal code comments? Obviously the opposite of...

  • RE: Join another table but with select conditions

    -- Note that the filter on r.dbStatusDesc in the WHERE clause

    -- turns the left join on vw_ReferralKPIs into an inner join

    -- because it excludes NULL values of r.dbStatusDesc in...

Viewing 15 posts - 2,536 through 2,550 (of 10,144 total)