ch08_isfixed01.sql

来自「OReilly Oracle PL SQL Programming第4版源代码」· SQL 代码 · 共 13 行

SQL
13
字号
/* From the "Is Fixed-Length Really Fixed?" sidebar.
   Note! To match the sidebar output, you MUST run
   this example on a system using UTF-8 as the
   database character set. */
DECLARE
   x CHAR(3);
BEGIN
   --Assign a single-byte character
   x := 'a';
   DBMS_OUTPUT.PUT_LINE(LENGTHB(x));

   --and now a two-byte character
   x := '

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?