dbTalk Databases Forums  

Forcing an error on a row in SSIS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Forcing an error on a row in SSIS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM






On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #12  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM






On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #13  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM



On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #14  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM



On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #15  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM



On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #16  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM



On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
  #17  
Old   
Aardvark
 
Posts: n/a

Default Re: Forcing an error on a row in SSIS - 08-22-2008 , 01:06 PM



On Aug 22, 1:29*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
When you extract the data from the CSV, is this date info being sent into
the pipeline as a DATE, or string?
It's set in the CSV file definition as a string if that's what you
mean.

Quote:
You may need to keep it as a string so you can examine the first four
characters. Use multipe Conditional Split Transforms to break up the datato
different pipes and massage and 'fix' it accordingly. In the end do a big
UNION Transform to pull it back together.
This was exactly what I started thinking through in my head. I was
actually playing with the conditional split when I got back to
checking the newsgroup. Great minds and all that

Thanks for the response and the suggestion!

-Tom.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.