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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Datatype

Status
Not open for further replies.

Preetham16

IS-IT--Management
Joined
Dec 28, 2006
Messages
32
Location
DE
I would like to convert Varchar to Numeric and the following code am using in SQL but still am getting problems...

cast(Cast(a.partner as char)as numeric(10)) as Partnernr

regards..

PR
 
char(?)

--------------------
Procrastinate Now!
 
Hi thanks for the replies

I dont need DECEMALS...when I use INT its saying ILLEGAL EXPRESSION.

PR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top