Viewing 15 posts - 12,316 through 12,330 (of 13,876 total)
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...
February 4, 2010 at 12:42 pm
Sounds like a good solution to me.
February 4, 2010 at 9:43 am
dndaughtery (2/4/2010)
February 4, 2010 at 9:34 am
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...
February 4, 2010 at 9:26 am
,, in a text file is the equivalent of NULL in a database table.
February 4, 2010 at 8:12 am
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))
February 4, 2010 at 7:51 am
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...
February 4, 2010 at 6:58 am
Please show an actual example of the data in your flat file which shows how 'blank' and 'null' differ.
February 4, 2010 at 6:45 am
Can you use a T-SQL query for your source data? COALESCE would do the work for you very nicely.
February 2, 2010 at 6:32 am
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...
February 1, 2010 at 2:34 am
wschampheleer (2/1/2010)
Write the output to a temporary file (eg RAW).
Add a second...
February 1, 2010 at 1:12 am
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?
January 30, 2010 at 10:36 am
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])...
January 30, 2010 at 4:31 am
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?
January 29, 2010 at 12:28 pm
I've also had problems doing this sort of thing in the past and ended up scripting it ... I know others have too (I've seen the forum posts) - this...
January 29, 2010 at 12:11 am
Viewing 15 posts - 12,316 through 12,330 (of 13,876 total)