Forum Replies Created

Viewing 15 posts - 5,266 through 5,280 (of 5,678 total)

  • RE: When Times are Tough, Do You Rise to the Occasion?

    Ninja's_RGR'us (10/18/2010)


    How would you guys react? I still have full access to all source codes and their backups. I have no intent to destroy there servers and yet...


    - 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 Manipulation Help

    You're looking for Unpivot.

    A quick fix to the sample data:

    CREATE TABLE [dbo].[#GblSecurityMain](

    [EmployeeNumber] [int] NOT NULL,

    ...


    - 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: Log file existance

    chris.s.powell (10/18/2010)


    Last question on the subject, as all of the information you have provided is extremely helpful, when our development team has a "once in a blue moon" bulk insert...


    - 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 am assuming I can safely delete .bak and .trn files that are old

    I... hesitate to tell YOU that it's okay to destroy YOUR backup files. However, I can help you figure out if it's right for you.

    First, keep any trn files...


    - 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: Log file existance

    GilaMonster (10/18/2010)


    Craig Farrell (10/18/2010)


    It can be a lot more complex than that but start there. 🙂

    Kalen Delaney did a talk for the 24 hours of PASS earlier this year...


    - 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: Log file existance

    chris.s.powell (10/18/2010)


    Will the .ldf return to the initial size of 2MB after all transaction have completed?

    Nope, and you won't want it to. You'll need that space the next time...


    - 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: Log file existance

    To add to what Gail said, yes, your T-Log can still grow. Simply you always need enough space for your largest transactions to occur, in whatever restore method you...


    - 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?

    To go back to our earlier discussion on bad drivers in random places, apparently hit'n'runs are universal. Took my car out last weekend. Lowspeed, luckily, but it's dead,...


    - 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: Help - find values in table 1 NOT in table2

    WayneS (10/15/2010)


    LOL! :w00t:

    (Think of how much that you learned! Sounds like it's been a good week for learning!)

    Oh learned plenty so far. My SQL learning is simply matched up...


    - 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: Help - find values in table 1 NOT in table2

    WayneS (10/15/2010)


    Craig Farrell (10/15/2010)


    Or, for the 2k8 deprived,

    Umm, Craig, this is valid syntax for 2005 also! :w00t:

    I think I'm going to go hide in my corner now. I'll...


    - 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: Help - find values in table 1 NOT in table2

    Or, for the [EDIT] eternally stuck in 2k mindset... [/EDIT], a bit more oldschool:

    SELECT

    t1.*

    FROM

    Table1 AS t1

    LEFT JOIN

    Table2 AS t2

    ...


    - 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: Sort order change

    smknox (10/15/2010)


    Thanks so much! This solved my problem so I thought I'd post it:

    ORDER BY

    CASE WHEN @SortVar='name' AND @order = 'ASC' THEN s.LastName+s.FirstName END ASC,

    CASE WHEN @SortVar='name' 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

  • RE: You'd think I'd have learned...

    Constantly forgetting that if I want to know what the SERVER is going to do with an SSIS/DTS package, I have to schedule it, not run it from the design...


    - 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?

    GilaMonster (10/15/2010)


    mtillman-921105 (10/15/2010)


    When your a contractor (or consultant), in the beggining you're a miracle sent in by the angels, but toward the end of your time they always want to...


    - 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: SQL server Interview Question

    GilaMonster (10/15/2010)


    Relax. Don't exaggerate your abilities. Don't lie. Don't be afraid to say 'I don't know', but have a plan for finding out.

    This. This this this. I passed...


    - 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 - 5,266 through 5,280 (of 5,678 total)