Oracle in varchar2 (4000) the maximum number of characters can store

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_43378945/article/details/97642498

Oracle in Varchar2 (4000) in the end how many Chinese characters, code set database can save, if it is GB2312, 2000 characters can be saved, if the database character set encoding is UTF-8, would be able to save a little more than 1,300. Since the two bytes representing characters GB2312 stored, and then the utf-8 occupies three bytes.

Guess you like

Origin blog.csdn.net/qq_43378945/article/details/97642498