Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 5,685 total)

  • RE: Maximum flow from continuous flow rate

    Jeff Moden (11/1/2011)


    Do a single lookup for the "trail off" row and substract it from the SUM.

    You're already at the "leading" row during an UPDATE... add it to the SUM.

    Calculate...

  • RE: Maximum flow from continuous flow rate

    Heh, I wonder if we're thinking along the same lines Jeff. I'm currently puzzling out a rolling window mechanic that should only need one (maybe two) passes on the...

  • RE: Help with performance - aggregating a lot of data

    Jeff Moden (10/31/2011)


    I was simply going to add the date, EmpID, and 3 calculated columns to the detail table and hide them from the app using a passthrough view with...

  • RE: Help with performance - aggregating a lot of data

    Jeff Moden (10/31/2011)


    Evil Kraig F (10/31/2011)


    Jeff Moden (10/31/2011)


    Kiara (10/31/2011)


    Jeff Moden (10/29/2011)


    Kiara,

    Any interest in a bit of table redesign that will greatly improve performance for this particular query? One that...

  • RE: Where are the good Senior Level DBA's?

    L' Eomot Inversé (10/31/2011)


    I guess I have to disagree with that. For a collection of small databases it has (for a long time now) been a lot more expensive...

  • RE: Subquery in quirky update

    gcresse (10/31/2011)


    Thanks, Craig. When you say "dump it into #tmps" do you mean write the data that I'm trying to get out of my subqueries into temp tables and...

  • RE: Subquery in quirky update

    gcresse (10/31/2011)


    Is it possible to include a subquery on the table being updated in the quirky update? I'm experimenting with the following code but the subqueries are not returning updated...

  • RE: Data Cleansing

    rka (10/31/2011)


    How will this work when addresses are like:

    Dummy Management Unit PO BOX 999 Dept of Energy, Training and The Arts CITY EAST DummyState 9999,

    Unit 1/100 Dummy Street, DummySuburb,...

  • RE: Using a Stored Procedure as A Data Source

    Welsh Corgi (10/31/2011)


    Thanks Kraig.

    My pleasure. You're correct though, you do want NOCOUNT off, but that's standard for me (sorry, was pseudocode above). FMTDATA setting is only needed under...

  • RE: Knowledge capicity of a DBA

    Ten Pounds of Knowledge, One pound bag. Lesson one: Learn the keywords and what it can do, and lookup how to do it after. Eventually the methods will...

  • RE: Are the posted questions getting worse?

    Jack Corbett (10/31/2011)


    Evil Kraig F (10/31/2011)


    SQLRNNR (10/31/2011)


    HA

    I have no aspirations of catching Steve in the next year, let alone 3 years.:-D

    You guys are looking at a race, I'm trying to...

  • RE: Help with performance - aggregating a lot of data

    Jeff Moden (10/31/2011)


    Kiara (10/31/2011)


    Jeff Moden (10/29/2011)


    Kiara,

    Any interest in a bit of table redesign that will greatly improve performance for this particular query? One that will give the reporting performance...

  • RE: Are the posted questions getting worse?

    SQLRNNR (10/31/2011)


    HA

    I have no aspirations of catching Steve in the next year, let alone 3 years.:-D

    You guys are looking at a race, I'm trying to figure out how to grab...

  • RE: Using a Stored Procedure as A Data Source

    Yeah, it's fine except you have to put in a metadata component first.

    SP as a data source runs into trouble when it's multi-statement, particularly if you use INSERT INTO #tmp....

  • RE: Creating an user as a record in users table vs. creating an actual user?

    Banana-823045 (10/31/2011)


    Is there more to the story behind wanting to manage number of total logins/users?

    Yeah, it's one ROYAL PITA. You're not just on the hook at 2AM for server...

Viewing 15 posts - 2,371 through 2,385 (of 5,685 total)