Forum Replies Created

Viewing 15 posts - 181 through 195 (of 497 total)

  • RE: Page life expetancy is low

    We will need some more information than what you have provided.

    Are you currently experiencing issues with the production server?

    What is the normal baseline for PLE on that server?...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Is msdn wrong about trigger permissions?

    Lowell is correct. To show the point I have created a user without a login to change the ownership of the RestrictedTable:-- Create a table that our test user will...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: I need to de-duplicate a large table (lots of full-row dups)

    Jason was too quick for me. Guess that's what I get for typing out my code instead of having a blog post ready to go. 😀



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: I need to de-duplicate a large table (lots of full-row dups)

    I would use something like this: with DupTable as (

    select ID, ROW_NUMBER() over (partition by ID order by ID) as rn

    from Table

    group by ID

    having count(*) > 1)

    delete DupTable

    where rn >...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Joins

    Please read the first article in my signature and following the recommend guidelines listed in there about posting these types of questions to the forum. After you have supplied the...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Stepping outside the boundaries in search of success

    If I'm an employee I think I have the responsibility to let management know my concerns and make sure that I'm heard. I would create a project document listing any...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Stepping outside the boundaries in search of success

    From my experience I would choose B. Without the proper buy-in and support it is a doomed project and will end up leaving a bad taste with senior management in...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server 2008 R2 Upgrade Advisor

    Can you restore the database(s) to a test environment and run it there? If not, then is there a maintenance window that you could run during? It really depends on...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Variable Table and insert multiple values from a function

    Luis Cazares (2/10/2014)


    Beware of recursive CTEs that count (like this one) as they could perform worse than a cursor or while loop (even if with 10 rows you can't note...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Variable Table and insert multiple values from a function

    Without the DDL for invoice I can't complete the query for you , but you could use a recursive CTE to populate the dates that you need into the table...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: What if I have to shrink the database...:(

    After you are done with the shrink operation make sure to kick off a rebuilding of the indexes. I would use Ola Hallengren's [/url]scripts.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: created Subscription not lsited under local Subscription menu

    On your publisher execute sp_helpsubscriberinfo with your new subscriber and publisher. If it is listed there then make sure that you have refreshed the "Local Subscriptions" folder on the Subscriber.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: High CPU with many DB connections Prod almost down

    Minaz (2/6/2014)


    We took out expensive queries and that was tunes and used a new sql plan. But after 3 hours same query became once again the expensive one.

    How was performance...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: sql server profiler not running when clicking from tools in sql server management studio in sql server 2012

    Verify that you have the executable (Profiler.exe) in your binn directory: "C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn". If not you may need to reinstall the tools.

    This also could be a good...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: t-sql where statement

    I simply glossed over that fact that it was the same column :hehe: Just went off the OP request.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 181 through 195 (of 497 total)