Viewing 14 posts - 1 through 14 (of 14 total)
Hi,
I finally figured it out.
Don't ask me why but apparently you can only use the "DTS" stuff with in a script TASK not with in a script component.
I used the...
June 26, 2009 at 2:05 pm
I apologize for not getting back to you. I tried your suggestion and I am getting an error message saying connectionmanager is not defined.
Any ideas.
Thanks.
Peter
June 26, 2009 at 12:45 pm
Thanks for your response.
I am not some one who looks to this forum for every bit of doubt I have. Unfortunately, the book I have for reference didn't talk much...
April 30, 2009 at 8:42 am
Thank you very much. It worked like a charm.
Peter
April 28, 2009 at 7:39 am
This example shows how to check for valid date and replace default date for invalid date.
(DT_BOOL)(DT_DATE)IssueDate_C ? IssueDate_C : "01/01/1900"
April 20, 2009 at 8:03 am
I guess, I didn't read your initial post correctly. If you want null when the date value is '0' use NULL(DT_DBDATE).
Peter
March 19, 2009 at 1:38 pm
If you want just the date then you should use DT_DBDATE not DT_DBTIMESTAMP and also don't forget to change the data type.
I am assuming your output is a table. If...
March 19, 2009 at 1:19 pm
If you look at the code attempted by Murali, he is trying to check for null and his description mentioned source file so depending on a flat file or table...
March 18, 2009 at 3:08 pm
What is your source and destination, ex. file or table?
Peter
March 18, 2009 at 1:39 pm
I am still playing around and figuring out what can be done in SSIS. It is simple if you want to insert all the rows from a table into a...
March 17, 2009 at 8:49 am
That is kind of the easiest route but I just wanted to know if sql 2005 had any other way that can accomplish the same in a more efficient way.
Thanks.
Peter...
March 17, 2009 at 8:24 am
I am assuming you are using expression column to change the data to datetime format. As part of that, check for null or valid date and move a default value...
March 16, 2009 at 3:01 pm
Thanks for the quick response. I will give that a try.
March 16, 2009 at 12:32 pm
we do similar processing using stored proc but interested to see if there is a way to do this in SSIS.
Thanks.
Peter Kennedy
March 16, 2009 at 12:16 pm
Viewing 14 posts - 1 through 14 (of 14 total)