mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-12 04:16:50 +02:00
cb7cbc16fa
I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii
20 lines
979 B
SQL
20 lines
979 B
SQL
drop table 計算機용어;
|
|
create table 計算機용어 (용어 text, 分類코드 varchar, 비고1A라구 char(16));
|
|
create index 計算機용어index1 on 計算機용어 using btree (용어);
|
|
create index 計算機용어index2 on 計算機용어 using hash (分類코드);
|
|
insert into 計算機용어 values('컴퓨터디스플레이', '機A01上');
|
|
insert into 計算機용어 values('컴퓨터그래픽스', '分B10中');
|
|
insert into 計算機용어 values('컴퓨터프로그래머', '人Z01下');
|
|
vacuum 計算機용어;
|
|
select * from 計算機용어;
|
|
select * from 計算機용어 where 分類코드 = '人Z01下';
|
|
select * from 計算機용어 where 分類코드 ~* '人z01下';
|
|
select * from 計算機용어 where 分類코드 like '_Z01_';
|
|
select * from 計算機용어 where 分類코드 like '_Z%';
|
|
select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
|
|
select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';
|
|
select *,character_length(용어) from 計算機용어;
|
|
select *,octet_length(용어) from 計算機용어;
|
|
select *,position('디' in 용어) from 計算機용어;
|
|
select *,substring(용어 from 3 for 4) from 計算機용어;
|