Forum Replies Created

Viewing 15 posts - 916 through 930 (of 5,678 total)

  • RE: Ignore/Skip data coming from falt file and loading into SQL table

    Grass (12/18/2012)


    I want to know from T-SQL(store proc) in a staging table and also SSIS.

    In T-SQL you'd simply use a CASE satement in your INSERT/Update statements, something like

    CASE WHEN LEFT(...


    - 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: COUNT and compare

    support 86837 (12/18/2012)


    I have two tables, one for Orders and then an Assiged Parcels table which can have multiple records attached to an Order. In the Order table is column...


    - 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: DISTINCT COUNT based on conditions

    sql1411 (12/18/2012)


    Yes members can be reactivated. However, this reactivated members would be treated as a new members and we would only use the points they've earned after they've reactivated again....


    - 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: Ignore/Skip data coming from falt file and loading into SQL table

    What are you using for the data load? Bulk Import? SSIS? SCD T-SQL script off a staging table?


    - 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: DISTINCT COUNT based on conditions

    Just a few clarifications, if I understand this right.

    In the pts columns, for the final item, shouldn't pts1 be 0 and Pts2 be -1100 to zero the account off?

    Can a...


    - 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: Trying to get a proc that I call with 1 parameter to put the results into a tempory table

    Oh, such fun, lot rezonings. Used to work in land appraising. Brings back memories. ... errr... I'm digressing.

    My apologies for the initial confusion. I thought 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: client side or server side cursor

    GYEAH... nHibernate.

    Can you get a hand on your coders to explore the underlying foundation calls? If you can, they can probably get you a better idea of what that...


    - 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: Build Error

    Export the package to a dtsx file and get it into BIDS/VisStudio. You need to see what the problem is. Usually it's a schema modification screwing up metadata...


    - 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: website to load data in SSIS

    Does it have a rss stream or are you scraping the data off the page? What format are you getting it in?

    Usually sites like that have the ability 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: Trying to get a proc that I call with 1 parameter to put the results into a tempory table

    What are you intending to do with the resultant #temptable? The syntax issue you're running into is:

    SELECT whatever INTO #table FROM tablexyz.

    Alternatively CREATE TABLE #table INSERT 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: Are the posted questions getting worse?

    GSquared (12/18/2012)


    A good book runs about $8 on average these days, and also lasts about 2 hours, so I could use that in the same way.

    2 hours? What books...


    - 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: From SSIS how to set EndDate when source record is deleted?

    Usually you'd use an audit and/or logging table to move deletions over. SCDs can't autodetect removed information. Trigger your deletions to an audit table and create a separate...


    - 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: Demanding and difficult logic qns. Sorry but i need help.

    Oh lord, that.

    Alright, yes. You can use SSIS as a data source for a Report. It's like...


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

    Fal (12/12/2012)


    Sure. I got this from a place called The Internet:

    "This refers to how intense romantic scenes are in a story and how intense the sexual tension is between...


    - 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 packege run good on BIDS, but when set up to run in SQL Agent job, always fail duw to access

    +1 Chris. Another option is to not store the connection information in the package and set it up as a configuration, so if it ever changes you merely need...


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