Forum Replies Created

Viewing 15 posts - 991 through 1,005 (of 3,221 total)

  • RE: Deleting duplicates from a table

    You could use something like this CTE

    ;with numbered as(SELECT rowno=row_number() over

    (partition by appt_id, event_id order by appt_id),appt_id, event_id from

    appointments)

    select * from numbered

    Once your sure it...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge statement

    SQLRNNR (9/7/2011)


    Nice question. Thanks to DBCC Timewarp we were able to answer the Oct 14 question over a month early. :-D:-D:-D:-D

    [? ? ?

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge statement

    Nice question ... I learned something from it so THANK YOU

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Help with Delimited String Parsing

    I believe that you might find your solution using code developed by Jeff Moden .... Read this article:

    http://www.sqlservercentral.com/articles/Tally+Table/72993/

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Insert data with select statement is very slow.

    I would suggest to get a good answer to your question you post the table definition, and the actual query text AND a copy of the execution plan ... For...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Order By Clause

    Very nice question ... took a lot of careful reading and thinking ... in fact had to spend more than a few minutes to examine each query and darn...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Level 4: The Mathematics of SQL: Part 1

    What bothers me even more are the examples. What is the point of demonstrating tables without keys, with duplicate rows and with every column nullable?? These are not sets at...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Level 4: The Mathematics of SQL: Part 1

    Thanks Greg.

    Copied and ran all your sample code, conclusion - makes understanding the various operators (EXCEPT, INTERSECT, UNION and UNION ALL ) exceptionally clear.

    And the additional tidbits...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Security for the Dev Team

    Have you considered purchasing a copy of the DEVELOPER edition of SQL Server. Installing it and restoring to it a copy of the production DB. That way the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Labor Day 2011

    In the United States, the National Labor Relations Board sets the rules for union membership. For example:

    The majority ruled that workers should generally be deemed supervisors, exempt from union...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Dynamically compary 2 tables using EXCEPT and INFORMATION_SCHEMA

    Consider utilizing the built in tool available in SQL 2005 and 2008.

    Use BOL and search for TABLEDIFF - other than that REDGATE has a tool available for a free 14...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Please help with Merge statement understanding

    Sha_

    Thanks you for replying and posting your modification of the DELETE clause .... now others with a similar problem can learn from what you have done.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Checkpoint and log records

    Welsh Corgi (9/3/2011)


    bitbucket-25253 (9/3/2011)


    These articles by Gail Shaw may assist.

    http://www.sqlservercentral.com/articles/64582/

    http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    And this about what CHECKPOINT can and can not accomplish

    http://msdn.microsoft.com/en-us/library/ms188748.aspx

    I got "Page Not Found" on the first and third link.

    From Chad...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Checkpoint and log records

    These articles by Gail Shaw may assist.

    http://www.sqlservercentral.com/articles/64582/

    http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    And this about what CHECKPOINT can and can not accomplish

    http://msdn.microsoft.com/en-us/library/ms188748.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Odd men out

    I can not believe that people are answering INCORRECTLY ..

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 991 through 1,005 (of 3,221 total)