Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 5,678 total)

  • RE: comparison in the merge statement about null values

    sqlfriends (8/22/2012)


    Thanks, so I still cannot get a better improved solution?

    Without query, underlying schema, and sqlplan? Nope. You've gone from general methodology to a particular solution's optimization. ...


    - 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: Moving tempDB from RAID10 to RAID5 for OLTP?

    pooyan_pdm (8/22/2012)


    Raid 10 is a better option if you have enough disk space.The write are done faster on raid 10 beacause unlike raid 5 there's no need to calculate 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: Does BCP IN Break the log chain

    GilaMonster (8/22/2012)


    Evil Kraig F (8/22/2012)


    GilaMonster (8/22/2012)


    Minimal logging and bulk-logged recovery model: http://www.sqlservercentral.com/articles/Recovery+models/89664/

    ERG, BAD CRAIG! Giving out bad information again. :blush:

    Err, you did? Where?

    Okay, overreaction... Incomplete information. :hehe:

    59...


    - 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: comparison in the merge statement about null values

    Edit: Damned quote bug...

    sqlfriends (8/22/2012)


    Evil Kraig F (8/22/2012)


    sqlfriends (8/22/2012)


    can I use isnull(student.mailingaddress,'')<>isnull(esis.mailingaddress,'')

    Yep, that's the usual workaround, just realize the entire query will be non-SARGable.

    I would like my query to 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: Does BCP IN Break the log chain

    GilaMonster (8/22/2012)


    Minimal logging and bulk-logged recovery model: http://www.sqlservercentral.com/articles/Recovery+models/89664/

    ERG, BAD CRAIG! Giving out bad information again. :blush: My brain's jumping important pieces of information, sorry bout that.

    Alright, Gail's quite...


    - 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: Does BCP IN Break the log chain

    Cory Blythe (8/22/2012)


    Hi,

    Easily confused here, I am trying to determine if using BCP to import a large amount of data into a table breaks the log chain?

    To second Lynn above,...


    - 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: Want my SSISpackage/ SQL Job should fail if the SSIS Config file path is wrong

    There's another approach. If the config file is non-existant it goes back to the design time values for the variables that are being configured. Make sure those are...


    - 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: joining with openquery

    That's most likely because of your select * from statement.

    State the exact columns you want from both the local #tmp and the Openquery aliases to feed into the 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: Summing up while creating table?

    @david-2: I agree that if you're warehousing and doing ETL work that you would prefer that approach to keep load down and keep it optimal, but I figured this isn'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: SSIS Data Load

    There are third party Flat File connectors (I believe one of the keywords is "mutable source") but there is nothing in SSIS standard that allows for it. You either...


    - 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 have an Excel that has to be imported to SQL Server using SSIS. The file has merged cells which don't seem to import properly. Instead they show up as NULL. Does anyone know how to import an Excel file with merged cells? Thanks.

    The first column of the merged cells is the only 'data column' the data will arrive in. This is normal. It will not repeat data across each 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

  • RE: joining with openquery

    That should be fine, are you running into an error of some kind?


    - 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: comparison in the merge statement about null values

    sqlfriends (8/22/2012)


    can I use isnull(student.mailingaddress,'')<>isnull(esis.mailingaddress,'')

    Yep, that's the usual workaround, just realize the entire query will be non-SARGable.


    - 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: Summing up while creating table?

    Heheh, no worries.

    USE OPAdmin

    GO

    CREATE VIEW aggTest AS ...

    GO


    - 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: Summing up while creating table?

    Alan Kwan (8/22/2012)


    Cool, this might be the solution. Two questions,

    1) I followed your sql, the command executed successfully, but I can't seem to find it, where is the view stored?

    If...


    - 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 - 1,246 through 1,260 (of 5,678 total)