Skip to Main Content

Oracle Database Discussions

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!

Raw datatype changing the case of the data

Rajan SwJul 31 2013 — edited Aug 1 2013

Hi ,

I have a table users which contains the column password and the datatype for this is raw(64) ,which will be the hashed one coming from the application. When Inserting the application is inserting with the lower case but while storing the table data is storing int the  uppercase .Is it the expected behavior of this datatype.

I am using Oracle 11g  and attaching the ddl and dml pertaining to the column

CREATE TABLE users_new

(USER_ID NUMBER(10),

PASSWORD             RAW(64)

);

insert into USERS_NEW

values(1,'ba660ed7b382f2c57754c4cd0d5289cc60ee455244847268d88b555168b28b23156f5a016b2764966a15674bec4eb0fb2220be736bfc21282be957910b9e80cf');

But after selecting from the database I am getting as below

BA660ED7B382F2C57754C4CD0D5289CC60EE455244847268D88B555168B28B23156F5A016B2764966A15674BEC4EB0FB2220BE736BFC21282BE957910B9E80CF

I will appreciate for any inputs.

Regards,

Papi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2013
Added on Jul 31 2013
4 comments
911 views