Forum Replies Created

Viewing 15 posts - 6,181 through 6,195 (of 8,753 total)

  • RE: Are the posted questions getting worse?

    Sean Lange (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Sean Lange (2/6/2015)


    Sioban Krzywicki (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of...

  • RE: How to calculate cumulative numbers

    For completeness, a SQL Server 2012 and later running total using a window function method

    😎

    USE tempdb;

    GO

    IF OBJECT_ID(N'dbo.Test') IS NOT NULL DROP TABLE dbo.Test;

    /*SqlServer 2012+*/

    CREATE TABLE dbo.Test(

    [Week] [int] NOT NULL,

    [Count]...

  • RE: Need helpcreating a query

    Quick question, how do the tables relate to each other, cannot see anything obvious at the first glance?

    😎

  • RE: Error Message on the application server

    Srl832 (2/6/2015)


    This is how the error message on the application server looks like, but the sql server error log doesn't have anything:

    <shortMessage>Fail to insert Adventureworks.inc.humanresourceslog into database SqlException: Login failed...

  • RE: Long Running Update statement

    What bothers me here is the fact that this a fairly large heap, makes any kind of batch/portioning effort very costly, any chance that you can change the table to...

  • RE: Are the posted questions getting worse?

    Sean Lange (2/6/2015)


    Sioban Krzywicki (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of Beer on the Wall)

    ......

  • RE: How to calculate cumulative numbers

    Sean Lange (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Further on Sean's answer, here is the "hard way" (don't worry, the server does the work:-D) of doing a running total on SQL Server 2008 and...

  • RE: Are the posted questions getting worse?

    Sioban Krzywicki (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of Beer on the Wall)

    ... Mark one...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of Beer on the Wall)

    ... Mark one off, 78...

  • RE: Count Function to Not Count Missing Values

    Just out of curiosity, in this case wouldn't a filter do the job, something like WHERE XX <> '' or WHERE LEN(XX) > 0 or even better, WHERE XX >...

  • RE: How to calculate cumulative numbers

    Further on Sean's answer, here is the "hard way" (don't worry, the server does the work:-D) of doing a running total on SQL Server 2008 and earlier

    😎

    USE tempdb;

    GO

    IF OBJECT_ID(N'dbo.Test') IS...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (2/6/2015)


    Eirikur Eiriksson (2/6/2015)


    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of Beer on the Wall)

    ... Mark one off, 78 days to go on...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (12/12/2014)


    Should have started this a while ago!

    (To the tune 100 Bottles of Beer on the Wall)

    ... Mark one off, 78 days to go on the calendar. 78...

  • RE: Long Running Update statement

    Good job, I'll look into this over the weekend

    😎

  • RE: Long Running Update statement

    Any indexes, constraints, triggers?

    😎

Viewing 15 posts - 6,181 through 6,195 (of 8,753 total)