Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Last Issue

Status
Not open for further replies.

SeaninSeattle

IS-IT--Management
Sep 17, 2001
53
US
Ok - so this is the last issue - and I swear I'll stop whining...

I have a numeric field that I converted to a decimal field. I need to now convert that decimal field to a varchar or char so that my ASPMail app can pick up the whole string (right now, it only picks up non-zero values - so $5.00 comes out $5, but $5.43 comes out $5.43 - very stupid).

Can anyone stop the rest of my hair from going gray and suggest an easy way to convert decimal to varchar or char with getting the 'arithmatic overflow' error?

Thanks,
//sse

Sean Engle
Admin/DirIS
ssengle@bswusa.com
 
Can't you use use 'CAST(DecimalField AS VARCHAR(n))' to change DECIMAL to VARCHAR...


Rhys
Thought out... Maybe,
Opinionated... Probably
But it is only an opiniion!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top