Forum Replies Created

Viewing 15 posts - 1,186 through 1,200 (of 1,249 total)

  • RE: Stored Proc And View Giving Different Results

    No, I mean the difference in row counts between the procedure and view, the problem that we're trying to solve.

    Of course you did, sorry, conference call brain fry.

    There is no...

  • RE: Stored Proc And View Giving Different Results

    GilaMonster (1/31/2014)


    Can't see anything obvious (other than multiple unnecessary DISTINCTs)

    Is the difference in rowcount consistent?

    If you mean 'is the difference in ServiceDays and AverageServiceDays the same every time' then yes....

  • RE: Stored Proc And View Giving Different Results

    Fair enough, although I'm a little hurt you don't trust me.... 🙂

    The code to create the dashboard with the proc

    set transaction isolation level read uncommitted

    set dateformat ymd

    select distinct

    OrderType =

    case...

  • RE: Stored Proc And View Giving Different Results

    I've attached the code now. I've had to do a bit of obfuscation, which I hope doesn't hide the logic. The organisation I work for is quite high...

  • RE: Today's Random Word!

    Kurt W. Zimmerman (1/28/2014)


    Ed Wagner (1/28/2014)


    L' Eomot Inversé (1/28/2014)


    crookj (1/28/2014)


    Ed Wagner (1/28/2014)


    BWFC (1/28/2014)


    Drink

    Restaurant

    Jocko's Steak House

    Rib Eye Steak

    Medium rare

    à point

    Blue

  • RE: Today's Random Word!

    Drink

  • RE: Today's Random Word!

    L' Eomot Inversé (1/24/2014)


    Ed Wagner (1/23/2014)


    BWFC (1/23/2014)


    JAZZ Master (1/22/2014)


    Revenant (1/22/2014)


    Ed Wagner (1/22/2014)


    SQLRNNR (1/22/2014)


    sim

    City

    bestseller

    novel

    New

    Clean

    Sterile

    Aseptic

  • RE: Concatenate? Coalesce? IsNull?

    Hi Sean

    I've had a tinker with my proc and using the CTE approach works just as quickly as temp tables when using my method to create the combined column. ...

  • RE: Concatenate? Coalesce? IsNull?

    Thanks Sean. I did try using CTE's when I was testing but oh boy did it slow down. I'd forgotten about STUFF, I'm very new to SQL and...

  • RE: Today's Random Word!

    JAZZ Master (1/22/2014)


    Revenant (1/22/2014)


    Ed Wagner (1/22/2014)


    SQLRNNR (1/22/2014)


    sim

    City

    bestseller

    novel

    New

  • RE: Today's Random Word!

    Ed Wagner (1/17/2014)


    OCTom (1/17/2014)


    SQLRNNR (1/17/2014)


    Rockford

    files

    Paths

    Roads

  • RE: Today's Random Word!

    Ed Wagner (1/16/2014)


    SQLRNNR (1/16/2014)


    JAZZ Master (1/16/2014)


    Revenant (1/16/2014)


    sing4you (1/16/2014)


    crookj (1/16/2014)


    Ed Wagner (1/16/2014)


    SQLRNNR (1/16/2014)


    Ed Wagner (1/16/2014)


    BWFC (1/16/2014)


    Ed Wagner (1/15/2014)


    crookj (1/15/2014)


    WOTD - bletcherous

    Code

    Bloat

    Fix (as in make efficient)

    diet

    Coke

    Soda

    Scotch

    naked (as in 'We Scots like...

  • RE: Today's Random Word!

    Ed Wagner (1/15/2014)


    crookj (1/15/2014)


    WOTD - bletcherous

    Code

    Bloat

  • RE: Today's Random Word!

    Ed Wagner (1/10/2014)


    SQLRNNR (1/10/2014)


    the body

    The mind

    Matter

  • RE: Today's Random Word!

    Ed Wagner (1/10/2014)


    sing4you (1/10/2014)


    Ed Wagner (1/10/2014)


    crookj (1/10/2014)


    Ed Wagner (1/10/2014)


    SQLRNNR (1/9/2014)


    Kurt W. Zimmerman (1/9/2014)


    Revenant (1/9/2014)


    whereisSQL? (1/9/2014)


    crookj (1/9/2014)


    WOTD - Tautological

    Redundant

    fail-safe

    dead-man

    walking

    Running

    Man

    Terminator

    Governator

    Jesse Ventura

    Boulevard

Viewing 15 posts - 1,186 through 1,200 (of 1,249 total)