Quantcast
Channel: SSIS: Checking for IsNumeric()
Browsing all 11 articles
Browse latest View live

re: SSIS: Checking for IsNumeric()

Thanks, as always, for a great post! I think the SSIS community would be up a creek without a paddle were it not for your blog!

View Article



re: SSIS: Checking for IsNumeric()

I think there is a simpler way. I use a "!isnull((DT_I4) [col])" expression. It returns true for numeric and null for non-numeric inputs.

View Article

re: SSIS: Checking for IsNumeric()

Andy,I tried the trick with converting to an int and back, but I found a problem, when the number started with zero. Testing '012' resulted in not numeric, as '012' <> '12'

View Article

re: SSIS: Checking for IsNumeric()

It's tricky:IF NOT NULL(Col) AND ISNUMERIC(Col) THEN   Result = cDbl(Col) ELSE   Result = 0 END IFin DTSequates to:Result = !ISNULL([Col]) && ((DT_STR,20,1252) [Col] == ((DT_STR,20,1252)...

View Article

re: SSIS: Checking for IsNumeric()

I'm curious how this calculation can be modified to check for decimal values?

View Article


re: SSIS: Checking for IsNumeric()

Andy,Great work!If I'm honest I'll carry on usig the script component for this because I like the lack of verbosity, each to their own of course. I've updated this post accordingly.To the people that...

View Article

re: SSIS: Checking for IsNumeric()

Since this excellent blog has helped me loads to get to grips with SSIS, I thought I would give my ten pence worth.I was really frustrated with this - and was determined to stick with using a derived...

View Article

re: SSIS: Checking for IsNumeric()

Another way is to use the Data Conversion transformation and directing the numeric rows (rows causing no error) and non-numeric rows (rows causing error) to the appropriate destinations.

View Article


re: SSIS: Checking for IsNumeric()

I learned more useful infos from your site. Thanks much!

View Article


re: SSIS: Checking for IsNumeric()

Hi Cristoph,Both would be synchronous so even if there is a different I'd expect it to be neglegible. Why not test it and try it out?-Jamie

View Article

re: SSIS: Checking for IsNumeric()

Yes, the missing "isnumeric" can be really annoying. But in the Scrip Component you actually have an "isnumeric", so "If IsNumeric(Row.Column) ..." should work too.Another possibilty to overcome the...

View Article
Browsing all 11 articles
Browse latest View live


Latest Images