Forum Replies Created

Viewing 15 posts - 3,811 through 3,825 (of 5,678 total)

  • RE: T-SQL 2000 to 2008

    Nope, not really.

    Your best bet is to tag a local recruiter, get yourself a Junior techie on the cheap for a month or two, and have them siphon through the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Reclaim space after dropping a table

    Anamt (3/5/2011)


    How do you suggest reclaiming the space for a specific table? Is there any way or some steps we can do?

    Most of the time, you don't. You'd have...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Nice article, thanks Paul. Looking forward to the rest of the series.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Table Scan

    Rog Saber (3/5/2011)


    I can research how to do this. In essence, just replace my current view by creating an indexed view?

    Yes. See this page for the necessary rules:

    http://msdn.microsoft.com/en-us/library/aa933148(v=sql.80).aspx

    You'd essentially...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Table Scan

    Rog, to help you understand what Jeff is seeing, if you look at the graphical execution plan, the first upper right componenets are an Index Scan on RT_TRIP and the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: I want to execute a procedure automatically at night 12.00 using service broker

    As a side note to what Dave offered, which is accurate, Service Broker is only available in Express so it can be connected to a Standard or Enterprise edition. It...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Execution Plan

    Gopinath,

    I'm hoping you've simplified your example, but in this case:

    CAST(

    COALESCE(NULLIF(LD.Date1,''),

    NULLIF(LD.Date2,''),

    NULLIF(LD.Date3,'')) AS DATETIME2) < @DeleteDate

    will not allow for any index usage, you've created a non-SARGable expression. You will be...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Table Scan

    To add to the evaluation, the 230 megabytes you're scanning in from RT_Trip can't be helping. The Scan is happening for the Free_Runner = 'N' component, but it's working on...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Using FOR XML PATH with strange data structure

    I see where you're trying to go with this Peter and it breaks a few rules of how SQL will automatically build an XML file for you.

    My best recommendation without...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Attaching MDF with "old" log file

    GilaMonster (3/4/2011)


    First things first. An mdf from one point in time and an ldf from an earlier time will NEVER work (unless there were no changes between the two times)....


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Update Column Value using After INSERT Trigger on table with no Primary Key

    rVadim (3/4/2011)


    ^^ That is exactly what I thought but OP for some reason wanted to do it in the trigger.

    Yeah, I noticed that after I posted (I had the window...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Hey folks, Some poor soul is having recovery difficulties across different versions of SQL to boot. Unclosed MDF, out of sync ldf, the works.

    If one of the gurus in...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Attaching MDF with "old" log file

    elfty (3/4/2011)


    I created a new database with the same DB name and everything, then overwrote it with my DB. I then ran:

    ALTER DATABASE xxx SET EMERGENCY

    ALTER DATABASE xxx SET...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Update Column Value using After INSERT Trigger on table with no Primary Key

    niteshrajgopal (2/27/2011)


    Hi Guys,

    I have a table with no Primary Key. I have a column that is null. But I want to set it to 'NR' after it has been inserted....


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Friday Humor

    Sean Lange (3/4/2011)


    Friend of mine just ran across this at work.

    (TM.TransType IN ('CO') OR

    TM.TransType IN ('CM') ) --Not the same as "TM.TransType IN ('CO', 'CM')"

    ... And...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 3,811 through 3,825 (of 5,678 total)