~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/test/mb/sql/euc_kr.sql

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table ͪߩѦ���;
 
2
create table ͪߩѦ��� (��� text, ��׾�ڵ� varchar, ���1A�� char(16));
 
3
create index ͪߩѦ���index1 on ͪߩѦ��� using btree (���);
 
4
create index ͪߩѦ���index2 on ͪߩѦ��� using hash (��׾�ڵ�);
 
5
insert into ͪߩѦ��� values('��ǻ�͵��÷���', 'ѦA01߾');
 
6
insert into ͪߩѦ��� values('��ǻ�ͱ׷��Ƚ�', '��B10��');
 
7
insert into ͪߩѦ��� values('��ǻ�����α׷���', '��Z01��');
 
8
vacuum ͪߩѦ���;
 
9
select * from ͪߩѦ���;
 
10
select * from ͪߩѦ��� where ��׾�ڵ� = '��Z01��';
 
11
select * from ͪߩѦ��� where ��׾�ڵ� ~* '��z01��';
 
12
select * from ͪߩѦ��� where ��׾�ڵ� like '_Z01_';
 
13
select * from ͪߩѦ��� where ��׾�ڵ� like '_Z%';
 
14
select * from ͪߩѦ��� where ��� ~ '��ǻ��[���]';
 
15
select * from ͪߩѦ��� where ��� ~* '��ǻ��[���]';
 
16
select *,character_length(���) from ͪߩѦ���;
 
17
select *,octet_length(���) from ͪߩѦ���;
 
18
select *,position('��' in ���) from ͪߩѦ���;
 
19
select *,substring(��� from 3 for 4) from ͪߩѦ���;