October 13, 2008 at 11:53 am
Hello,
I have a column name DollarAmount in the Excel Sheet. The format of the cells in this column have currency format with 3 decimal places. It means the data is somewhat this way: $15.900, $22.634, .......
I have to load this data into the SQL Server table using SSIS.
I tried to move into a table by giving datatype Currency and in the DataConversion Transformation also I converted the excel column into Currency Format. I had to use DataConversion as I have many other columns also.
Now, my question is that I am able to get the data as 15.900, but the $ sign is missing. It is necessary for me to have a dollar sign also, but even after trying few datatypes in SQL Server table as well as Data Conversion Transformation in SSIS, I am not able to get the $ sign also passed from my excel spreadsheet.
I guess it is not that tough, but I am not getting the right spot. Can anyone of you help me achieve this?
Thank you.
October 13, 2008 at 2:46 pm
The dollar sign isn't stored in SQL Server. If you need to display the money columns with the symbol, it should be applied in the application.
Greg
October 13, 2008 at 7:13 pm
Greg Charles (10/13/2008)
The dollar sign isn't stored in SQL Server. If you need to display the money columns with the symbol, it should be applied in the application.
Heh... true enough... but you might want to explain why it should be done that way. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply