Forum Replies Created

Viewing 15 posts - 9,886 through 9,900 (of 14,953 total)

  • RE: More processors, less performance...

    Dave Hoogendoorn (4/20/2009)


    Maxdop unfortunately did not give any major improvements.

    Regarding the validity of the test;I agree. However. Before the issues started, the queries were much, much faster then those 2...

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    If you don't use the "constraint" keyword, that command works.

    create table #T (ID int);

    alter table #T add primary key (ID);

    Just tested that and it worked.

  • RE: How to select as rows using XQuery value()

    You need to use the nodes function before the value function. Try this, see if you can what you want from there:

    select x.y.query('.').value('.[1]','int')

    from @depxml.nodes('(DEPARTMENT/EMPLOYEES/EMPID)') x(y)

    Look up the nodes function...

  • RE: More processors, less performance...

    Dave Hoogendoorn (4/20/2009)


    The query takes a long time to execute. So after two minutes I stop the query to see how many records are retrieved. The more records retrieved in...

  • RE: Index Choices

    Optimization based on assumptions and guesses is far too common.

    One dev I worked with thought that table variables were THE way to optimize stored procs. Took a proc that...

  • RE: Active Directory

    UniqueIdentifier will work for that. Those are GUIDs.

  • RE: There Must Be 15 Ways To Lose Your Cursors... part 1, Introduction

    Matt Whitfield (4/20/2009)


    GSquared (4/20/2009)


    I'm sorry that you don't know how to code well in SQL. I recommend, however, that instead of justifying it as "I just get the job...

  • RE: Tempdb Full After Reboot

    Tempdb has an initial size of 48 Gig on a drive that only has 50 Gig of available space? If I'm misreading that, that's one thing, but if I'm...

  • RE: More processors, less performance...

    Not sure what your "rowcounts after 2 minutes" is supposed to measure. What are you using to measure performance and what metrics are you keeping?

    One possibility for reduced performance...

  • RE: interview questions

    davidandrews13 (4/20/2009)


    Carolyn Richardson (4/20/2009)


    It's 3pm on a Friday, your production OLTP environment is down, every hour down costs the company one million dollars. People are phoning constantly, folks are rushing...

  • RE: Index Choices

    Even if applications are rewritten, the amount and type of activity in the table will probably not change much, since users will be doing the same things with the new...

  • RE: Index Choices

    I'd use a trace to find the most common actions taken on that table, selects, updates, inserts and/or deletes, in the production database.

    That'll tell you straight away whether there are...

  • RE: Online T-SQL Scripts and Copyright

    It's a good question and definitely needs to be considered. Not just scripts, but the forum posts are IP as well. SSC needs to have rights on those,...

  • RE: interview questions

    GilaMonster (4/20/2009)


    GSquared (4/20/2009)


    "the server room has smoke coming out of it and the halon alarm just went off to warn people to get out of there"

    Now that's one I haven't...

  • RE: interview questions

    Nicholas Cain (4/20/2009)


    The question is more about how you handle a pressure situation than the actual details. If you can handle that being thrown at you in an interview and...

Viewing 15 posts - 9,886 through 9,900 (of 14,953 total)