November 2, 2010 at 3:00 pm
How can I check Isnumeric() in SSIS?
Any help?
Thanks [/font]
November 2, 2010 at 3:12 pm
Script component
or use a derived column(note that this will not work if numbers use leading 0's):
Result = !ISNULL([Col]) && ((DT_STR,20,1252) [Col] == ((DT_STR,20,1252) (DT_I4) [Col] )) ? (DT_I4) [Col] : 0
or
!isnull((DT_I4) [col])
All solutions taken from this link:
I prefer the script component method myself. I'm don't know VB, but it's simple enough code to understand and apply.
November 2, 2010 at 3:15 pm
Thanks
Thanks [/font]
July 27, 2011 at 11:59 am
Here are some alternatives
http://microsoft-ssis.blogspot.com/2011/04/isnumeric-or-isnumber-expression-is.html
May 24, 2016 at 5:07 am
Check below solution. No need to write extra lengthy code.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy