August 20, 2003 at 1:18 am
hi,
I want to import data form text file to SQL. The data contain character which is supposed to be numeric in SQL table. Error conversion appears when the data contain minus (-) sign in the behind.
(ex. 9999.99-)
can someone help me ?
thanks,
August 20, 2003 at 6:51 am
You could BCP into a staging table as varchar, do some substringing to remove the (-) sign and import into the final table.
If DTS is an option, you could use ActiveX scripting to remove the (-) sign before loading into your table.
Joseph
Viewing 2 posts - 1 through 1 (of 1 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