codepage-like.p
1 |
def temp-table table-one no-undo field field-one as clob |
---|---|
2 |
COLUMN-CODEPAGE "UTF-8" |
3 |
field field-two as clob. |
4 |
|
5 |
def temp-table table-two no-undo like table-one. |
6 |
def temp-table table-three no-undo like table-two |
7 |
field field-three as clob COLUMN-CODEPAGE "UTF-8". |
8 |
def temp-table table-four no-undo field field-four like table-one.field-one. |
9 |
|
10 |
create table-one. |
11 |
create table-two. |
12 |
create table-three. |
13 |
create table-four. |
14 |
|
15 |
message "table-two" get-codepage(table-two.field-one). |
16 |
message "table-three" get-codepage(table-three.field-one) get-codepage(table-three.field-three). |
17 |
message "table-four" get-codepage(table-four.field-four). |
18 |
|
19 |
|
20 |
def temp-table table-five no-undo like some-table. |
21 |
create table-five. |
22 |
message "table-five" get-codepage(table-five.perm-clob). |
23 |
|
24 |
def temp-table table-six no-undo field like-clob like some-table.perm-clob. |
25 |
create table-six. |
26 |
message "table-six" get-codepage(table-six.like-clob) |
27 |
|