Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

reading varbinary data type in mysql from oracle

3193178Apr 26 2016 — edited Apr 27 2016

I have a simple table in MySQL with a first_name varbinary(255) column.

it is varbinary because I will end up doing AES_Encrypt on it.

For now, the data is not encrypted.

I inserted "rpurdy" into the first_name column.

if i use,   cast("first_name"  as  char(100) )   in mysql i can see my data fine.

if i use this in Oracle pl/sql I get what i see below.

please help. thank you.

SELECT cast("first_name"  as  char(100) ) as Test1

FROM "test1_user"@dblink1

TEST1

727075726479                                                                                   
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2016
Added on Apr 26 2016
4 comments
885 views