~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/test/regress/sql/euc_tw.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, ���� varchar(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
 
 
17
select *, character_length(����ɱ) from ��ٸ����;
 
18
select *, octet_length(����ɱ) from ��ٸ����;
 
19
select *, position('ȴ��' in ��Ƴ���) from ��ٸ����;
 
20
select *, substring(��Ƴ��� from 3 for 6 ) from ��ٸ����;