Forum Replies Created

Viewing 15 posts - 4,081 through 4,095 (of 5,678 total)

  • RE: how to move table from .mdf to .ndf

    You have to assign the new file to a different logical filegroup in the database, otherwise you can't control it.

    Once you have done that, you rebuild the clustered index 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: Procedure fails when called from a job

    EDIT: Late update, ignore.


    - 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: Modify A Table

    To extrapolate on what Mike provided above, you can't edit an IDENTITY column while it's being included, and you can't update it after the fact.

    You can, however, INSERT into 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: Are the posted questions getting worse?

    Stefan Krzywicki (2/9/2011)


    Craig Farrell (2/9/2011)


    GSquared (2/9/2011)


    Kit G (2/9/2011)


    To those Threadzians (and everyone else) getting hit by the latest winter storm, stay warm and safe.

    And to those in Florida who can't...


    - 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: Procedure fails when called from a job

    Silly as it sounds, try it without the dbo. in front of the #Accounts

    Also, I assume IF @AccountType = 'Account' is supposed to be @Type, from the parameters.


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

    GSquared (2/9/2011)


    Kit G (2/9/2011)


    To those Threadzians (and everyone else) getting hit by the latest winter storm, stay warm and safe.

    And to those in Florida who can't deal with frigid, sub-70...


    - 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: Need help to code for different row data

    In the real code, remove the 'WhatItFinds' column, I merely left it in there as an example.. You don't want to call a correlated subquery twice. This is...


    - 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: Need help to code for different row data

    adonetok (2/9/2011)


    Thank all of you.

    I try to run code from SSCommitted but I got an error as below. How to fix it?

    Our company is still using SQL 2000. I do...


    - 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: Need help to code for different row data

    adonetok (2/9/2011)


    I need to move Excel data to SQL. In Excel, it is easier to calculate duration:

    ...

    How to code in SQL is really hard for me. Can someone help me?

    One...


    - 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: need help

    Hey Denny, welcome to SSC. Since you're new here, you'll probably want to take a look at the first link in my signature. It describes how to setup...


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

    GSquared (2/9/2011)


    Maybe it's time for us to step up to the plate and make some suggestions on the subject, and make them public enough to be of some use 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: Are the posted questions getting worse?

    Jan Van der Eecken (2/9/2011)


    You know, I read through that whole thread, and somewhere mid-way I started wondering whether nadabadan himself wasn't actually the interviewer. I guess I am certainly...


    - 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: Job running every minute

    smac (2/8/2011)


    I have a machine that runs a part then the outputs the results to a file on a server, I will need to setup a job to go out...


    - 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: Deprecation consternation

    In addition to Gus' method, a second pass will also ease your mass rewrite by simply updating all (NOLOCK) to WITH (NOLOCK), and then the second pass updating all WITH...


    - 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: Multiple Lookups

    Drag another lookup to the screen, and bring the datastream (green/red arrows) to it to do your next lookup. The previously defined lookup gets added to the metadata of...


    - 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 - 4,081 through 4,095 (of 5,678 total)