In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Convert to Number in SQL Expression Data Base

ancook
6 - Meteoroid

How would I convert this V_String to a number?Screenshot 2024-05-23 112649..png

3 REPLIES 3
terry10
12 - Quasar

Use the ToNumber function in a formula tool

Raj
16 - Nebula

@ancook 
tonumber([Review_Count])

hope this helps you

apathetichell
20 - Arcturus

create a new field and use a 

CAST("REVIEW_COUNT", AS int)

 

I'd recommend reviewing your db's documentation for any other specifics on numeric types - or error handling.

note 'review_count' in normal SQL is a value whereas "review_count" is a field.

Labels
Top Solution Authors