Hi all,
I am trying to import a text file into SQL Server 2000. The fields that I am importing the data into are numeric, and have to be. The fields been imported are numeric but every now and then they have a trailing -, to indicate that the field is a negative number, but the program, that creates the file cannot alter this and will always display the field with a trailing - sign. Is there any way that I can format the field when it has a trailing - sign and make it come first, for example? 1- needs to be imported as -1. I know it can be done through Visual Basic using the CDBL command, but is this possible through the import?
Thanks for any help
I am trying to import a text file into SQL Server 2000. The fields that I am importing the data into are numeric, and have to be. The fields been imported are numeric but every now and then they have a trailing -, to indicate that the field is a negative number, but the program, that creates the file cannot alter this and will always display the field with a trailing - sign. Is there any way that I can format the field when it has a trailing - sign and make it come first, for example? 1- needs to be imported as -1. I know it can be done through Visual Basic using the CDBL command, but is this possible through the import?
Thanks for any help