Forum Replies Created

Viewing 15 posts - 12,316 through 12,330 (of 13,877 total)

  • RE: SSIS export null value

    I just tried it and it worked as I suggested.

    Against the properties for your flat file source, have you got 'retain nulls' set to true?

  • RE: SSIS export null value

    Something else is happening here.

    If I import the record

    Affinity,,CT

    into a database, I can guarantee that field number 2 would not somehow become a space in my database table. Do you...

  • RE: How to Increment a Global Variable

    Sounds like a good solution to me.

  • RE: How to Increment a Global Variable

    dndaughtery (2/4/2010)


    Yeah its in a script transform in a data flow component. I basically need a way to add a unique record id for each record. I'm open to any...

  • RE: SSIS export null value

    You use the word 'retain' in your original post. If a value is null in a database column and you export it to a text file, the way of retaining...

  • RE: SSIS export null value

    ,, in a text file is the equivalent of NULL in a database table.

  • RE: Widcards?

    PATINDEX is not a valid function in SSIS expressions.

    Maybe adding an additional condition would help:

    && FINDSTRING(Email,"@",1) < (LEN(Email)) - FINDSTRING(REVERSE(Email),".",1))

  • RE: Inconsistent data in a text file

    emily-1119612 (2/2/2010)


    One approach would be to import all the data a table with 9 columns ...

    Wouldn't this fail at the import stage, because SSIS would validate the number of fields...

  • RE: SSIS export null value

    Please show an actual example of the data in your flat file which shows how 'blank' and 'null' differ.

  • RE: How to handle Nulls and derived columns?

    Can you use a T-SQL query for your source data? COALESCE would do the work for you very nicely.

  • RE: Find Min/Max values in an export

    I do not have the experience to argue either way - just thought I'd raise it as a point to be considered.

    You would not use the Script Task to do...

  • RE: Find Min/Max values in an export

    wschampheleer (2/1/2010)


    To find the min/max value(s) you can use a Multicast transform and feed one flow to an Aggregate Task.

    Write the output to a temporary file (eg RAW).

    Add a second...

  • RE: Converting SQL 7.0 DTS to SSIS

    SSIS Guy (1/30/2010)


    Check DTS xChange. It will not convert your DTS logic to SSIS but also adds many best practies for SSIS.

    http://www.pragmaticworks.com/Products/Business-Intelligence/DTSxChange/

    Do you work for this company?

  • RE: Need help converting DT_STR to datetime using SSIS

    That was fun! 🙂

    Use this as your derived column definition:

    SUBSTRING([OpenDate],FINDSTRING([OpenDate],"/",2) + 1,4) + "-" + SUBSTRING([OpenDate],1,FINDSTRING([OpenDate],"/",1) - 1) + "-" + SUBSTRING([OpenDate],FINDSTRING([OpenDate],"/",1) + 1,FINDSTRING([OpenDate],"/",2) - FINDSTRING([OpenDate],"/",1) - 1) + SUBSTRING([OpenDate],LEN([OpenDate])...

  • RE: File System Task issue

    It does feel like it is permissions related, but ...

    ..if it were, why would the Script Task work and the File System Task have problems?

Viewing 15 posts - 12,316 through 12,330 (of 13,877 total)