Data type conversion

Comments

2 comments

  • Joel Stewart

    I'd recommend using the INT function directly in Datameer to convert strings (even with leading 0's) into an integer. Once both numbers are integers, the joining should be straightforward. 

    For example INT("0000000000012345") converts the string into the integer 12345. Hope this helps! 

    0
    Comment actions Permalink
  • Jayraj

    Thank you very much Joel, tried using it and yields the result. But it was crucial to maintain col_f and col_g as string. Appreciate the help, I did it using SUBSTR and removing the leading zeros.

    0
    Comment actions Permalink

Please sign in to leave a comment.