![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All The text file containing weekly sales comes from a legacy system which reports negative numbers with the negative sign in postfix form rather than prefix form as follows: customer Sales Qty 1000000 100 220 1909110 82- 430 2010102 125 98- Can you please suggest how I can transform all incoming postfix negative numbers sign to a prefix notation as follows: customer Sales Qty 1000000 100 220 1909110 -82 430 2010102 125 -98 Your help is highly appreciated. Thanks Karen |
#3
| |||
| |||
|
|
Don't do anything, there is no need. A simple CSV to SQL server with a destination table of type int works fine. Suffixed signed numbers are valid in DTS/SQL, or so it appears from my quick tests. -- Darren Green http://www.sqldts.com http://www.sqlis.com |
#4
| |||
| |||
|
|
Darren Many thanks for the tip. But I want the suffix sign to be moved as a prefix sign so instead of the data in the sql table being shown as 85- I want it to be shown -85 Thanks Karen "Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in message news:<OgPXjYuKFHA.4028 (AT) tk2msftngp13 (DOT) phx.gbl>... Don't do anything, there is no need. A simple CSV to SQL server with a destination table of type int works fine. Suffixed signed numbers are valid in DTS/SQL, or so it appears from my quick tests. -- Darren Green http://www.sqldts.com http://www.sqlis.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |