Forum Replies Created

Viewing 15 posts - 4,216 through 4,230 (of 5,841 total)

  • RE: Variable vs explicit value

    Voitek (1/29/2010)


    I prefer to use dynamic SQL, and that has always resulted in good performance. However, in this application I chose to encapsulate the query into a stored procedure for...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Variable vs explicit value

    I will add to the thread that there are MANY cases where you can have widely varying inputs and dynamic sql is by far the best approach to ensure optimal...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Trouble importing a large flat file

    lmeinke (1/28/2010)


    Hello All,

    I've solved the problem using access as a "pre-import" tool. My question is "Why should I have to do this?"

    I could not pinpoint the error in SQL...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Conflicting Information

    >>Do you have a suggestion on migrating to something else? Such as a sequential integer or something like that? What is more popular?

    Deciding on an indexing strategy is certainly...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Conflicting Information

    kingscriber (1/28/2010)


    TheSQLGuru (1/28/2010)


    We cannot really help you without lots more information, and true help may be beyond the scope of forum postings/responses.

    However, I can say unequivocally that GUIDs...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Parallelism in USP with XML

    XML may prevent the use of parallelism by the query engine, just like scalar UDFs and other operators do.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Conflicting Information

    We cannot really help you without lots more information, and true help may be beyond the scope of forum postings/responses.

    However, I can say unequivocally that GUIDs are HORRIBLE...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to export hundreds of SSIS packages?

    Boy I like that! I hope it works - I will add it to my script repository.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: INSERT INTO and INDEXES

    Autoupdate stats will NOT help you here if you put only 1 to 10 M rows into a table with 100M rows. Takes 20%+ to trigger the stats update....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Trigger don't run in SQL2008 but did in SQL2000 en 2005

    There are many things wrong with this trigger:

    1) as others have mentioned it doesn't handle more than 1 row. You say ordernr is unique - so what. How...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: cursor performance

    One thing I will add. If you have values (such as the GUIDs) from previous inserted data that you do in a set-based statement that you need to use...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Introduction to Indexes: Part 2 – The clustered index

    Tom, it wasn't your post(s). Talltop and I had a spat.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performance affected by moving db's to different drives

    timscronin (1/20/2010)


    Thanks for the feedback, as far as getting help, I looked in the foxhole an I am all that is here, no money = self-learn and self-help

    I understand -...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Introduction to Indexes: Part 2 – The clustered index

    removed by poster to keep thread from getting locked

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performance affected by moving db's to different drives

    1) take Jason's recommendation but modify to use newer fileIO stall DMV in 2005 that replaces fn_virtualfilestats. Better granularity data. Also modify to have user-configurable input for delay...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,216 through 4,230 (of 5,841 total)