openGauss-server/src/test/regress/sql/euc_kr.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 ;