Forum Replies Created

Viewing 15 posts - 466 through 480 (of 5,678 total)

  • RE: Set SSIS variable = database connection manager name

    ShinyBaldHead (2/3/2014)


    I only want to set a SSIS variable = name of only one connection. If you change the name of that connection, then the value of variable is reset...


    - 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: Getting rid of "Nested" views

    Agreed. There's just too many variables. Example: I personally only usually use views to consolidate a standard approach to get a particular component of data in an optimal...


    - 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: Mirroring, Replication or SSIS package

    ps_vbdev (1/31/2014)


    Whats the best way to get a nightly copy my source database onto my staging server.

    My personal preference is to restore the production copy's backup. This gives 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: SSIS connection problem -- inexplicable red box

    That's a really strange set of errors and troubleshooting results. I'm half posting just so you have a response on this and don't think you're being ignored. Personally,...


    - 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: Set SSIS variable = database connection manager name

    ShinyBaldHead (1/31/2014)


    Is it possible to set a SSIS string to only the name of a database connection manager or even the connection string it uses ? I don't see an...


    - 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: Nested stored procedures and EXECUTE statements (Dynamic SQL)

    I'm thinking your proc is reporting an error to the engine, and the engine is losing it, not necessarily that your proc is losing 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: Nested stored procedures and EXECUTE statements (Dynamic SQL)

    It may be an unhandled error so it's failing silently.

    I'd start with a trace of the process so you can see exactly what the rules engine is providing to 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: Clustered Index needed for Time lookup table?

    polkadot (1/30/2014)


    are you suggesting that instead of Unique Index I make the column a Primary Key? I understand PKs enforce uniqueness and SQL Server will in response automatically create...


    - 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: Clustered Index needed for Time lookup table?

    polkadot (1/29/2014)


    This lookup table never gets modified and when I "SELECT *" from it I the time values appear to be physically stored in ascending order. Should I add...


    - 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: Incremental load using Hashvalue

    sneumersky (1/29/2014)


    HASHBYTES is the best for determining total and complete uniqueness if you are willing to deal with the overhead.

    From MSDN:

    Return Value

    --------------------------------------------------------------------------------

    varbinary (maximum 8000 bytes)

    If I'm going to possibly compare...


    - 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 package fails due to potential loss of data

    This usually happens not because of your delimeter, but because the source metadata is assuming x length, and your target is x-n, so the concatonation throws up warnings.

    The best way...


    - 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: Incremental load using Hashvalue

    Bruce W Cassidy (1/29/2014)


    I generally don't favour calculating a checksum across the columns and comparing checksums. SQL Server has to calculate the checksum across all of the columns every...


    - 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: Incremental load using Hashvalue

    I've done this before, also with the Persisted computed column for only relevant fields, though I usually use a key-checksum combination.

    What I typically do is load the key/checksum combination into...


    - 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: Forum Etiquette: How to post Reporting Services problems

    Excellent article, thanks Magoo.


    - 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: Permutations (difficult one)

    dwain.c (1/28/2014)


    That user alone would generate POWER(2,32)-1 rows (working from memory here so check the article to be sure). That's a lot of rows.

    Amusingly:

    select power(2 ,32)

    Msg 232, Level...


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