Forum Replies Created

Viewing 15 posts - 151 through 165 (of 497 total)

  • RE: Should I backup the transaction log?

    I'm leaning more towards keeping the recovery model as simple and doing a daily backup at a time when it's least likely to impact them.

    If you are okay with...



    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 Memory Hog

    Couple of things to look for.

    1st Result set:

    Available Physical Memory

    System physical memory high

    System physical memory low

    2nd result set:

    Target Committed

    Current Committed



    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 Memory Hog

    You could run dbcc memorystatus to check the Target and the Current Committed values, but it looks like the server is only using 4GB.



    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: Trouble with a MERGE statement

    Maybe I'm not understanding the problem, but to me it looks like you are not wanting to have anything happen with they are not matched by source. So don't add...



    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 Memory Hog

    sqlbuddy123 (3/10/2014)


    GilaMonster (3/10/2014)


    sqlbuddy123 (3/10/2014)


    And did you restart the SQL server after you changed the Max Memory to 4 GB ? This is to release excessive memory grabbed by SQL.

    Max 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: SQL Server 2008 R2 Memory Hog

    Are there other instances installed on this box?



    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: Delete Duplicate records based on 2 fields

    This might be where my lack of knowledge with Access comes in to play. The code that you have works fine for me (on SQL Server) and I don't see...



    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: Delete Duplicate records based on 2 fields

    You are correct that the cte will not work in Access. Is there anything in the record that makes it unique? i.e. an ID or a date that would be...



    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: Delete Duplicate records based on 2 fields

    You can use the following to accomplish what you need:create table RemitterSemiOutput (

    rtno int not null

    ,acctno int not null

    )

    insert into RemitterSemiOutput

    values (1,1)

    , (1,1)

    , (2,2)

    , (3,3)

    ,(3,4)

    ,(4,4)

    ,(4,4)

    SELECT *

    FROM ...



    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: Reset memory cache for query tuning?

    Oops forgot to add the caveat! Thanks Jason. Also you can use DBCC FLUSHPROCINDB(<db_id>); to only flush the plans from a single database.



    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: Reset memory cache for query tuning?

    You might also want to account for getting the execution plan from cache too. You can use this to clear the proc cache dbcc freeproccache.

    It is good to...



    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: Cumulative Updates

    At the top of Glenn Berry's DMV queries he does the work for you. Run the code and look at the comment block for which version you are currently 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: Test if table columns are identical

    You could use Full Outer Join to compare the two tables and you can use BINARY_CHECKSUM to check the difference between rows with the same id. Like so:

    drop table #tblTasks;

    drop...



    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: Pull certain periods based on todays date

    Like Jack mentioned above it would be really helpful if you could provide a create table script along with insert statements for your sample data. Please read the article 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: Turning on trace flag 1222 for deadlocks

    I have never noticed any performance issues with that TF. I guess you if you have a ton of deadlocks it may impact your error log, but it is a...



    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 - 151 through 165 (of 497 total)