Link to home
Create AccountLog in
Avatar of Ouida
OuidaFlag for United States of America

asked on

SQL Convert from Percentage to Decimal

I have a table which has a varchar field where the data is stored as a percentage, i.e. 2%.  I need to convert this to a decimal but I cannot figure out a convert or cast which will do this?  Suggestions?
SOLUTION
Avatar of Nitin Sontakke
Nitin Sontakke
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Ouida

ASKER

Thank you both for your help.  It worked with the added /100!