Forum Replies Created

Viewing 15 posts - 5,986 through 6,000 (of 22,211 total)

  • RE: Server Max Memory Too Low

    Thanks for reporting back with the solution. That'll help anyone who finds your question through searches.

  • RE: Why does SQL choose the "wrong" index

    TheSQLGuru (5/29/2015)


    Grant Fritchey (5/28/2015)


    TheSQLGuru (5/28/2015)


    Also, I was leery of adding OPTION (RECOMPILE) for something that runs that often.

    This is SIGNIFICANTLY misguided, IMHO! I will jump through EXTRAORDINARY hoops these...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (5/29/2015)


    We know that the Crystal Ball shows nothing but the clouds, but where is the silver spoon?

    < rant >

    I am still amazed at how many people have to...

  • RE: SQL Views Problem

    I can't honestly say the number of times I've seen this go badly. Views calling other views that are joined to views which contain other nested views... It feels so...

  • RE: What is the difference between DMV, DBCC and DMF

    GilaMonster (5/29/2015)


    rajeshjaiswalraj (5/29/2015)


    Where DBCC or DMV will store. What its working.

    DMVs don't store data, they're views into SQL's internal memory structures mostly, or database structures.

    DBCC statements are very varied and...

  • RE: What is the difference between DMV, DBCC and DMF

    In general practice, there's little distinction between Dynamic Management Views and Dynamic Management Functions. Most of the time they're all referred to as DMVs collectively. DBCC now means Database Console...

  • RE: Why does SQL choose the "wrong" index

    TheSQLGuru (5/28/2015)


    Also, I was leery of adding OPTION (RECOMPILE) for something that runs that often.

    This is SIGNIFICANTLY misguided, IMHO! I will jump through EXTRAORDINARY hoops these days to trade...

  • RE: Automatic restore

    Well, you probably use some sort of standard for the file name I assume. Build that standard into your RESTORE statement. You'll probably have to use ad hoc T-SQL, but...

  • RE: Blocking

    BL0B_EATER (5/28/2015)


    I agree with Grant I have used Jonathan Kehayias's Extended Events script to get an idea of blocking, I just changed it slightly because I knew the database_ID that...

  • RE: Operator Description

    I actually got this right after thinking about it, but I think Hugo is accurate in what he's saying.

  • RE: Blocking

    sys.dm_exec_requests will show you the immediately running queries that are experiencing blocking. You can combine that with sys.dm_exec_sql_text to get the query and sys.dm_exec_query_plan to get the execution plan.

    There is...

  • RE: The Scientific Method: a call to action

    Brandie Tarvin (5/28/2015)


    Kyrilluk (5/28/2015)


    In other words, the call to scientific method is good but is useless in certain aspects. It's good when everyone can reproduce the research (such as whether...

  • RE: Tuning expensive query II

    Another point, if you are trying to measure the execution time, make darned sure you turn off the STATISTICS IO when you do. They can radically skew[/url] the results of...

  • RE: SQL Training Courses...

    Never been, but it's on my bucket list. I really need to schedule one and get the company to pay for it.

  • RE: Why does SQL choose the "wrong" index

    One other point to consider is whether or not you're using local variables in the actual code or you're using parameters. If local variables, then you're seeing averages from the...

Viewing 15 posts - 5,986 through 6,000 (of 22,211 total)