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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

difference between BYTE & CHAR

685758Apr 19 2012 — edited Apr 19 2012
hi all,

In Oracle, As per below syntax, what is the difference between BYTE & CHAR used as datatype size for NAME column:

CREATE TABLE CLIENT
(
NAME VARCHAR2(11 BYTE),
ID_CLIENT NUMBER
)

and

CREATE TABLE CLIENT
(
NAME VARCHAR2(11 CHAR), -- or even VARCHAR2(11)
ID_CLIENT NUMBER
)



rgds,
pc
This post has been answered by user11440683 on Apr 19 2012
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 17 2012
Added on Apr 19 2012
7 comments
27,095 views