>I am looking at a quick way to convert a column of numbers to text... Any
>ideas?
>thanks
No- what I mean is 123 (Number format) to "123" Text format... thanks
brent
> Brent
>
[quoted text clipped - 9 lines]
>>ideas?
>>thanks
Gordon- I am importing a CSV file and I am getting a type conversion file
error on one of my
fields (a upc file). I need that filed to be imported as a nvarchar (text
format)...
I brought the file into excel and tried to convert the data to text and it
looked like
8.81E+10 and will not work for my SQl link....
Any ideas on getting the converion to match up?
Thanks
Brent
> Brent
>
[quoted text clipped - 9 lines]
>>ideas?
>>thanks
Lori - 05 Feb 2007 23:06 GMT
One way: In a new workbook choose Data > Import External Data > Import
Data, select text files from the drop down and locate the .csv file
then set Text as the data format for the column in the wizard.
> Gordon- I am importing a CSV file and I am getting a type conversion file
> error on one of my
[quoted text clipped - 23 lines]
> >>ideas?
> >>thanks
Brent - 06 Feb 2007 00:07 GMT
Lori- it worked, but that is a H&*&*( of a way to do it- is there any other
way? You would think that it would be eaiser than this???
Thanks
brent
> One way: In a new workbook choose Data > Import External Data > Import
> Data, select text files from the drop down and locate the .csv file
[quoted text clipped - 31 lines]
>> >>ideas?
>> >>thanks
Lori - 06 Feb 2007 09:49 GMT
Hi Brent - A general way to convert a column of numbers to text is:
Data>Text to Columns>Next>Next>Text on that column.
(Assuming tab-delimited as default)
Note however that Excel has an accuracy of 15 digits so if your csv
file contains longer strings of digits they will be rounded.
In that case you should convert the column before opening in Excel as
suggested above. Another option is to change the .csv extension
to .txt so that you get the import wizard when you open the file from
Excel.
> Lori- it worked, but that is a H&*&*( of a way to do it- is there any other
> way? You would think that it would be eaiser than this???
[quoted text clipped - 39 lines]
> >> >>ideas?
> >> >>thanks
Gord Dibben - 05 Feb 2007 23:28 GMT
Brent
Format the cells as number to get rid of the scientific notation.
Then save as>file type>text
The "numbers" will not revert to scientific notation in the text file.
Link that *.txt file to your SQL
Gord
>Gordon- I am importing a CSV file and I am getting a type conversion file
>error on one of my
[quoted text clipped - 23 lines]
>>>ideas?
>>>thanks
Brent - 06 Feb 2007 00:11 GMT
Gord- I could not get that to work... Loris way worked- but that is a
convoluted way of doing something that should be so simple...
> Brent
>
[quoted text clipped - 36 lines]
>>>>ideas?
>>>>thanks