Forum Replies Created

Viewing 15 posts - 3,481 through 3,495 (of 5,841 total)

  • RE: Looking for a Good diagramming tool

    Grant Fritchey (4/6/2011)


    My favorite software for doing this is Embarcadero ERStudio. It meets all your requirements and quite a few more.

    +1 on ERStudio. Definitely the tool of choice for database...

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

  • RE: Query has two exec plans - Good and Bad

    sqldba_icon (4/6/2011)


    Grant Fritchey (4/5/2011)


    Yeah, local variables is a mechnism for defeating some forms of parameter sniffing. What it means is, instead of using a specific value to arrive at an...

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

  • RE: Linked Server Anomoly

    DBANewbie (4/6/2011)


    Interestingly, i was adding the linked server via SSMS but i have just added it via TSQL script and it has worked correctly.

    I have no idea what the problem...

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

  • RE: How should ORM tools perform SQL actions?

    Your webscreen should not dictate my table design.

    I LOVE that line!! I think it will be my new tag line when I hit clients that use ORMs. :w00t:

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

  • RE: SQL Server running incredibly slow since Friday...

    Linked servers can be disatrously bad for performance. See what you can do to avoid those. I have helped many clients use replication to eliminate linked server needs....

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

  • RE: IF EXISTS Trigger QUERY

    mail2payan (4/5/2011)


    Dear Jeff Moden,

    I skip this thought of inserting 100rows at a time..:crying:

    And I'll be firing the same from a TABLE name as USER_PROBLEM:

    ---------------------------

    ID | USERNAME | PROBLEM

    ---------------------------

    1 |...

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

  • RE: UNION ALL is hanging the server and is very slow.

    Christine, your solution still hits the view umpteen times. The SUM(CASE . . .) solution hits that same data ONE time. It can't possibly be as efficient to...

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

  • RE: When is a execution plan recreated and are the multiple plans?

    GilaMonster (1/18/2011)


    Lee Forst (1/18/2011)


    Grant, another question if I may. What happens in the case of a proc that has conditional branching? For example, the proc has a major...

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

  • RE: CACHESTORE_SQLCP consuming all memory in an instance

    1) as an interim fix, does the cache clear out if you run dbcc freeproccache? If so, set up a job to run that every so often to avoid...

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

  • RE: How should ORM tools perform SQL actions?

    How should ORM tools perform SQL actions?

    They shouldn't be allowed near a SQL Server, at least not a production one. There, I said it! 😀

    There really are lots of...

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

  • RE: Query Performance Tuning

    Ninja's_RGR'us (4/4/2011)


    It's actually "worse" than that. If you want a garanteed index seek, the predicate needs to return 0.3% OR LESS of the data in the table.

    Needless to say...

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

  • RE: Query Performance Tuning

    Grant Fritchey (4/4/2011)


    Grubb (4/4/2011)


    Craig Farrell (4/4/2011) SELECT * FROM master..sysprocesses.

    Thanks, Craig. The problem with that is that the query only runs ~400 ms. Do you know...

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

  • RE: Long running query causing disconnections and long waiting time

    get a copy of the awesome (and free) sp_whoisactive from Adam Machanic. It can help you identify blocking chains, among many other things.

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

  • RE: Analyzing an Unfamiliar and Undocumented System

    ApexSQL Doc is an awesome product to help you document and understand the database. BIDocumenter from PragmaticWorks can document more than just the database, such as SSIS stuff if...

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

  • RE: Querying a large table with an odd criteria

    opc.three (4/1/2011)


    TheSQLGuru (3/31/2011)


    3) no index will be helpful here if you plan on checking 80% of the data in the table (50M/62M) UNLESS the number of email sent rows is...

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

Viewing 15 posts - 3,481 through 3,495 (of 5,841 total)