LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Convert Unicode back to String

    Employee
    Posted 11-12-2014 06:34

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rpcwong

    Hi, after we upgraded Brain, many of our existing jdbc queries don't work anymore unless we set "DefaultToUnicode" to true.
    I'm wondering if there is any easy way to convert all the Unicode fields back to String afterwards? (and leave the long, int, etc.. untouched?)


  • 2.  RE: Convert Unicode back to String

    Employee
    Posted 11-12-2014 10:55

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    You could use the Data Analyzer, which should convert unicode data to string. In the event it does not, you could use the Change Metadata node to change fields with unicode types to string type. (Note that I have disabled the conversion option in the Data Analyzer.
    Attachments:
    convertUnicode.brg


  • 3.  RE: Convert Unicode back to String

    Employee
    Posted 11-12-2014 15:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rpcwong

    Works great.. I just need to add in an additional blong type :-)

    Thanks


  • 4.  RE: Convert Unicode back to String

    Employee
    Posted 04-21-2016 13:35

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: NettaB

    Was faced with the same myself & this helped me save sooooooooooooooooooooooo much time! Hi5 for the forum