Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > BI Monkey
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Flat File Sources and the Decimal Data Type

This is a discussion on Flat File Sources and the Decimal Data Type within the BI Monkey forums, part of the CORTEX Blogs category; Question: What Data Type should you use for importing a column in Flat File containing Decimal data? Answer: numeric [DT_NUMERIC] You cannot use the decimal [DT_DECIMAL] type, because in the ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 27th July 2009, 08:22 PM   #1
Guru
 
Join Date: Jun 2009
Posts: 122
James Beresford is on a distinguished road
Thumbs up Flat File Sources and the Decimal Data Type

Question: What Data Type should you use for importing a column in Flat File containing Decimal data?

Answer: numeric [DT_NUMERIC]

You cannot use the decimal [DT_DECIMAL] type, because in the Advanced Editor of the Flat File connection, the decimal type for some reason only allows you to set the Scale (the number of digits after the decimal point) - the Precision is greyed out (precision is the total number of digits). The numeric data type allows the setting of both values.

Fortunately the SSIS numeric type maps to SQL Server decimal columns without complaint, so you don’t have to add a Data Conversion to change numeric to decimal before using it. I have raised a bug on Connect - please vote it up if you consider this worth fixing.



Get More from the original blog...
James Beresford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flat File Source Error: The column delimiter for column [ColumnName] was not found James Beresford BI Monkey 0 30th June 2009 12:21 PM
Flat File Import tips James Beresford BI Monkey 0 23rd June 2009 09:34 PM
International Sources Of BOBJ Information Jo Vincent SAP and Business Objects Forum 0 25th May 2009 04:45 PM
Data Mart V Data Warehousing - The geat Debate binboy Data Warehousing Tips and Techniques 1 16th July 2008 11:15 AM


All times are GMT +11. The time now is 02:52 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO