Forum Replies Created

Viewing 15 posts - 331 through 345 (of 499 total)

  • RE: Grant Fritchey Reviews Minion Reindex

    OK -- I sent you a private message in the forum

  • RE: Grant Fritchey Reviews Minion Reindex

    After reading the article and the docs, I installed MR on one of my test systems. However, the jobs fail! I get tons of errors like this:

    42000] (Error...

  • RE: Error casting a string as a date returned from an EP task

    Solved it!

    My Bad. I chose the wrong variable for StdOut in the EP task

  • RE: Stairway to Advanced T-SQL Level 2: Using the APPLY Operator

    One of my favorite uses for APPLY is to make my queries DRY-er by pre-computing subexpressions. e.g.

    with data as (select * from (values

    (1,2,3),

    (4,5,6)

    ) v(a,b,c)

    )

    select a, b, f.future, d.diff, p.past

    from data

    cross...

  • RE: ID or Id

    ScottPletcher (1/26/2015)


    g.britton (1/26/2015)


    Jeff Moden (1/24/2015)


    RonKyle (1/24/2015)


    What are the issues with DATETIME2 and DATEDIFF?

    Simple. Given a single row that contains StartDate and EndDate columns as DATETIME2 columns, write the code...

  • RE: ID or Id

    Jeff Moden (1/24/2015)


    RonKyle (1/24/2015)


    What are the issues with DATETIME2 and DATEDIFF?

    Simple. Given a single row that contains StartDate and EndDate columns as DATETIME2 columns, write the code to calculate...

  • RE: Getting Distinct

    BTW you can get the effect this incorrect query seems to imply:

    select * from mytable

    intersect

    select * from mytable

  • RE: COUNT NULLs

    Hugo Kornelis (1/23/2015)


    g.britton (1/23/2015)


    You're guessing and hoping you are right, but you are wrong. The execution plan proves it.

    In SQL, you need to make a distinction between the definition of...

  • RE: COUNT NULLs

    Hugo Kornelis (1/22/2015)


    g.britton (1/22/2015)


    Hugo Kornelis (1/22/2015)


    g.britton (1/22/2015)


    you may be right but the effect is exactly same so the fact that behind the scenes the process is different is probably irrelevant

    The...

  • RE: COUNT NULLs

    Hugo Kornelis (1/22/2015)


    g.britton (1/22/2015)


    you may be right but the effect is exactly same so the fact that behind the scenes the process is different is probably irrelevant

    The shorter explanation is...

  • RE: COUNT NULLs

    you may be right but the effect is exactly same so the fact that behind the scenes the process is different is probably irrelevant

  • RE: COUNT NULLs

    Just though I'd dispel the notion that only count(*) counts nulls:

    select count('null') as count_null from (select null n union all select null) countnull

    returns:

    count_null

    2

  • RE: SSIS Bulk Insert hangs

    Manic Star (1/13/2015)


    Its possible its trying to run the whole kit and caboodle in one transaction. I don't remember 2k5 well enough to know when it commits, or where you...

  • RE: Checking meta data

    For the literalist , the missing definition of the variable @output means the code doesn't run at all. But that's jus nit picking

Viewing 15 posts - 331 through 345 (of 499 total)