Link to home
Start Free TrialLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

Convert value to string

I am selecting a number field and need to convert it to 'string' because I have an export function which doesnt work with large numbers, but if I convert to string it should work.

Select number
from table

?
ASKER CERTIFIED SOLUTION
Avatar of Daniel Wilson
Daniel Wilson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

it is MS SQL 2008

what if the number is larger ?   can I do varchar(150) for example ?
Sure you can.  But ... do you really have 150 digits?
Avatar of Aleks

ASKER

No ... was just saying :)  thx !