1

I have a string column which has dots.How can I replace the dots with nothing("") ? After the replacing , I want to convert this string into integer value.

For example :

1.450.753 (String)

to

1450753  (Integer)

1 Answer 1

2
SELECT * FROM Table WHERE CAST(replace(yourString,'.','') AS INTEGER) > otherValue

I think this is the answer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.