community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
SOLVED

Using the in database tool, how can you convert a v_string into a double?

Asteroid

Is there a way to convert a v_string data type into a double using the in database tool. 

I did find some help with writing a SQL script but my SQL skill are very limited and could not figure out the proper syntax.

 

Alteryx Certified Partner

if you use the in-db formula tool, you can create a new field with the double type and then enter this in the SQL expression area

cast("TheFieldYouWantToConvert" as float)

Then use the select tool to remove the old string field and rename the new field to replace it

 

Asteroid

Thank you for the suggestion it worked great.

 

Labels