Forum Replies Created

Viewing 15 posts - 2,686 through 2,700 (of 5,393 total)

  • RE: Are the posted questions getting worse?

    Trey Staker (9/16/2011)


    GSquared (9/16/2011)


    GilaMonster (9/16/2011)


    I suspect this got lost in all the 'helping Grant abuse SQL' posts...

    Another request:

    I'm bunking tonight and starting the rewrite of my rather old (and second-ever)...

    -- Gianluca Sartori

  • RE: Calculate date difference between rows

    I don't think I understand if the data you included in your post is the actual data in your table or the output of the query you posted.

    Can you post:

    1)...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    calvo (9/16/2011)


    Gianluca Sartori (9/16/2011)


    I'm installing an instance for a new third party software and I would really appreciate your advice on the instance name.

    In this shop each instance name must...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (9/16/2011)


    Gianluca Sartori (9/16/2011)


    WayneS (9/16/2011)


    Question for those that blog (preferably with WordPress) and post code on their blog - what code syntax tool do you use? I'm using WP-SynHighlight,...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    I'm installing an instance for a new third party software and I would really appreciate your advice on the instance name.

    In this shop each instance name must start with a...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    WayneS (9/16/2011)


    Question for those that blog (preferably with WordPress) and post code on their blog - what code syntax tool do you use? I'm using WP-SynHighlight, but I'm not completely...

    -- Gianluca Sartori

  • RE: Compare two records of the same table

    Self join, I mean something like this:

    SELECT A.*

    FROM SomeTable AS A

    INNER JOIN SomeTable AS B

    ON A.SomeColumn = B.SomeOtherColumn

    -- Gianluca Sartori

  • RE: Compare two records of the same table

    Yes, definitely. Use a self join.

    Can you post table script and tell us a bit more about your issue?

    -- Gianluca Sartori

  • RE: DBCC OPENTRAN RESULT SET

    You can use DBCC OPENTRAN() WITH TABLERESULTS and pipe it to a table.

    -- Gianluca Sartori

  • RE: Add one min when time same

    ALZDBA (9/16/2011)


    edited ... removed the quoted text :blush:

    Can you use Row_Number() over ( partition by yourdatecol order by yourdatecol ) as RwNumber

    and add that ( - 1)

    e.g.

    update x

    set...

    -- Gianluca Sartori

  • RE: Query won't finish! Amzaingly large query plan

    Well, things don't change without a reason, check that everything is really back as it was before.

    However I would not focus on that ...

    Now your plan sucks and it used...

    -- Gianluca Sartori

  • RE: Query won't finish! Amzaingly large query plan

    aaa-322853 (9/16/2011)


    Sure there are several indexes on the target table and they have always been there.

    My point is that now everything is structurally the same, the data is the same,...

    -- Gianluca Sartori

  • RE: Add one min when time same

    And what if the modified time (+1 min) is duplicate as well?

    -- Gianluca Sartori

  • RE: Query won't finish! Amzaingly large query plan

    aaa-322853 (9/16/2011)


    Hi sorry, forgot to mention I had already carried out a global update stats on the staging database.

    And there was one thing which did change - this was...

    -- Gianluca Sartori

  • RE: case function

    ...CONCAT...

    Is this Oracle SQL?

    -- Gianluca Sartori

Viewing 15 posts - 2,686 through 2,700 (of 5,393 total)