Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

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


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



Thank you for the suggestion it worked great.