Forum Replies Created

Viewing 15 posts - 3,991 through 4,005 (of 5,678 total)

  • RE: Accessing the Variables collection in SSIS (2k5)

    niall.baird (2/16/2011)


    Thanks Craig - I'm actually trying to avoid having to expose each variable by name in the script task, as I'm trying to build a generic routine for error...


    - 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: Why is table locked while INSERTING?

    Just a quick question, is this an ADP that connects to a SQL 2k5 backend, or an actual MS Access database? The error is SQL so I assume you're...


    - 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: Select records form lasthour

    Jole84 (2/16/2011)


    Andreas Goldman (2/16/2011)


    WHERE [DATE] >= DATEADD(HOUR, - 1, GETDATE())

    hm... this query gets all data from table. My last record was inserted 08/02/2011 11:44:56 PM so

    it must return zero rows...


    - 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: Accessing the Variables collection in SSIS (2k5)

    Well, yes and no.

    First in the script task you have to expose the variables to the script task in the Script Task editor window, at the least as ReadOnlyVariables.

    If 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: newbie - Can someone help me understand this section of this script?

    Well, it's the long way around the barn these days, but it's not that uncommon in SQL 2k and back. However, you always start with the inside moving 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: Why do i need to update stats after backup and restore?

    Most likely they were stale when you did the backup. To avoid things like this, do your reindexing/statistic updating before you do your backups.


    - 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: why the avatar picture you use

    Mine tends to be whatever mood strikes me at the time, or can be triggered by a conversations.

    I believe this one was from a recent conversation where it was agreed...


    - 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 - Data Flow Task

    Yep, different errors. These are easier to deal with:

    OnError CRM CRM\Administrator Package {32833F60-011C-44C1-AE01-DE591DC521B8} {0A292E65-3966-4E42-810E-AF6857A821DC} SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

    An OLE DB...


    - 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: How to split/extrapolate single records by date range into multiple records

    thepotplants (2/15/2011)


    I haven't heard of tally tables, so I'll have a look. Thanks for the suggestion.

    No problem. You'll find the Tally and/or Calendar table much quicker than any while...


    - 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: Check IF column value exists in both and update column

    Triality (2/15/2011)


    Haha, how is the performance on 30+ objects in a data flow? I am importing ~15MM rows per month with only about 4 derived columns and it 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: Are the posted questions getting worse?

    You got your code in my THREAD! ARGGGHHH... We need to take this outside!

    I believe, if memory serves, there was an algorithm for using XML instead of 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: How to split/extrapolate single records by date range into multiple records

    The three standard ways to handle this with T-SQL would be the following:

    - While Loop (slowest but most common)

    - Calendar Table (requires upkeep)

    - Tally Table ( requires understanding of using...


    - 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: Seeking advice on updating a table

    dlatch (2/15/2011)


    GSquared and Craig -

    It was actually an SSIS package that I had written. Doing a lookup against the key and column splits on the critical tested fields. ...


    - 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: Check IF column value exists in both and update column

    Triality (2/15/2011)


    Ah thats exactly what I was looking for, makes complete sense! Thanks Craig!

    My pleasure. I've been crash coursing in more advanced SSIS for the last two months...


    - 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: OPENXML issue

    LutzM (2/15/2011)


    You can basically see the nodes reference as a "loose table definition" with a single xml column.

    Therefore, it's sometimes referenced as T(c) which is Table(column).

    The one column itself holds...


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