new regression data for 7.1
This commit is contained in:
parent
ad7424e391
commit
62e48272c2
@ -1,4 +1,5 @@
|
||||
drop table 廠商資料;
|
||||
ERROR: table "廠商資料" does not exist
|
||||
create table 廠商資料 (行業別 text, 公司抬頭 varchar, 地址 varchar(16));
|
||||
create index 廠商資料index1 on 廠商資料 using btree (行業別);
|
||||
create index 廠商資料index2 on 廠商資料 using hash (公司抬頭);
|
||||
@ -67,15 +68,15 @@ select *, octet_length(
|
||||
(3 rows)
|
||||
|
||||
select *, position('有限' in 公司抬頭) from 廠商資料;
|
||||
行業別 | 公司抬頭 | 地址 | strpos
|
||||
--------+------------------+---------+--------
|
||||
電腦業 | 達達科技 | 北A01仁 | 0
|
||||
製造業 | 財源有限公司 | 中B10中 | 3
|
||||
餐飲業 | 美味股份有限公司 | 高Z01九 | 5
|
||||
行業別 | 公司抬頭 | 地址 | position
|
||||
--------+------------------+---------+----------
|
||||
電腦業 | 達達科技 | 北A01仁 | 0
|
||||
製造業 | 財源有限公司 | 中B10中 | 3
|
||||
餐飲業 | 美味股份有限公司 | 高Z01九 | 5
|
||||
(3 rows)
|
||||
|
||||
select *, substring(公司抬頭 from 3 for 6 ) from 廠商資料;
|
||||
行業別 | 公司抬頭 | 地址 | substr
|
||||
行業別 | 公司抬頭 | 地址 | substring
|
||||
--------+------------------+---------+--------------
|
||||
電腦業 | 達達科技 | 北A01仁 | 科技
|
||||
製造業 | 財源有限公司 | 中B10中 | 有限公司
|
||||
|
@ -1,87 +1,38 @@
|
||||
drop table 计算机术语;
|
||||
ERROR: Relation '计算机术语' does not exist
|
||||
ERROR: parser: parse error at or near "("
|
||||
create table 计算机术语(术语 text, 分类号 varchar, 备注1A char(16));
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 计算机术语index1 on 计算机术语 using btree(术语);
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 计算机术语index2 on 计算机术语 using btree(分类号);
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 计算机术语 values('电脑显示屏','机A01上');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 计算机术语 values('电脑图形','分B01中');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 计算机术语 values('电脑程序员','人Z01下');
|
||||
ERROR: parser: parse error at or near "("
|
||||
vacuum 计算机术语;
|
||||
ERROR: parser: parse error at or near "("
|
||||
select * from 计算机术语;
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑显示屏 | 机A01上 |
|
||||
电脑图形 | 分B01中 |
|
||||
电脑程序员 | 人Z01下 |
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 分类号 = '人Z01下';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑程序员 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 分类号 ~* '人z01下';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑程序员 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 分类号 like '_Z01_';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑程序员 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 分类号 like '_Z%';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑程序员 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 术语 ~ '电脑[显图]';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑显示屏 | 机A01上 |
|
||||
电脑图形 | 分B01中 |
|
||||
(2 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 计算机术语 where 术语 ~* '电脑[显图]';
|
||||
术语 | 分类号 | 备注1a
|
||||
------------+---------+--------
|
||||
电脑显示屏 | 机A01上 |
|
||||
电脑图形 | 分B01中 |
|
||||
(2 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select *,character_length(术语) from 计算机术语;
|
||||
术语 | 分类号 | 备注1a | char_length
|
||||
------------+---------+--------+-------------
|
||||
电脑显示屏 | 机A01上 | | 5
|
||||
电脑图形 | 分B01中 | | 4
|
||||
电脑程序员 | 人Z01下 | | 5
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "caf5"
|
||||
select *,octet_length(术语) from 计算机术语;
|
||||
术语 | 分类号 | 备注1a | octet_length
|
||||
------------+---------+--------+--------------
|
||||
电脑显示屏 | 机A01上 | | 10
|
||||
电脑图形 | 分B01中 | | 8
|
||||
电脑程序员 | 人Z01下 | | 10
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "caf5"
|
||||
select *,position('显' in 术语) from 计算机术语;
|
||||
术语 | 分类号 | 备注1a | strpos
|
||||
------------+---------+--------+--------
|
||||
电脑显示屏 | 机A01上 | | 3
|
||||
电脑图形 | 分B01中 | | 0
|
||||
电脑程序员 | 人Z01下 | | 0
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "caf5"
|
||||
select *,substring(术语 from 3 for 4) from 计算机术语;
|
||||
术语 | 分类号 | 备注1a | substr
|
||||
------------+---------+--------+--------
|
||||
电脑显示屏 | 机A01上 | | 显示屏
|
||||
电脑图形 | 分B01中 | | 图形
|
||||
电脑程序员 | 人Z01下 | | 程序员
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "caf5"
|
||||
|
@ -1,5 +1,5 @@
|
||||
drop table 計算機用語;
|
||||
ERROR: Relation '計算機用語' does not exist
|
||||
ERROR: table "計算機用語" does not exist
|
||||
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
|
||||
create index 計算機用語index1 on 計算機用語 using btree (用語);
|
||||
create index 計算機用語index2 on 計算機用語 using hash (分類コード);
|
||||
@ -70,16 +70,16 @@ select *,octet_length(
|
||||
(3 rows)
|
||||
|
||||
select *,position('デ' in 用語) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | strpos
|
||||
----------------------------+------------+------------+--------
|
||||
コンピュータディスプレイ | 機A01上 | | 7
|
||||
コンピュータグラフィックス | 分B10中 | | 0
|
||||
コンピュータプログラマー | 人Z01下 | | 0
|
||||
用語 | 分類コード | 備考1aだよ | position
|
||||
----------------------------+------------+------------+----------
|
||||
コンピュータディスプレイ | 機A01上 | | 7
|
||||
コンピュータグラフィックス | 分B10中 | | 0
|
||||
コンピュータプログラマー | 人Z01下 | | 0
|
||||
(3 rows)
|
||||
|
||||
select *,substring(用語 from 10 for 4) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | substr
|
||||
----------------------------+------------+------------+----------
|
||||
用語 | 分類コード | 備考1aだよ | substring
|
||||
----------------------------+------------+------------+-----------
|
||||
コンピュータディスプレイ | 機A01上 | | プレイ
|
||||
コンピュータグラフィックス | 分B10中 | | ィックス
|
||||
コンピュータプログラマー | 人Z01下 | | ラマー
|
||||
|
@ -1,87 +1,38 @@
|
||||
drop table 計算機용어;
|
||||
ERROR: Relation '計算機용어' does not exist
|
||||
ERROR: parser: parse error at or near "("
|
||||
create table 計算機용어 (용어 text, 分類코드 varchar, 비고1A라구 char(16));
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 計算機용어index1 on 計算機용어 using btree (용어);
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 計算機용어index2 on 計算機용어 using hash (分類코드);
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 計算機용어 values('컴퓨터디스플레이', '機A01上');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 計算機용어 values('컴퓨터그래픽스', '分B10中');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 計算機용어 values('컴퓨터프로그래머', '人Z01下');
|
||||
ERROR: parser: parse error at or near "("
|
||||
vacuum 計算機용어;
|
||||
ERROR: parser: parse error at or near "("
|
||||
select * from 計算機용어;
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터디스플레이 | 機A01上 |
|
||||
컴퓨터그래픽스 | 分B10中 |
|
||||
컴퓨터프로그래머 | 人Z01下 |
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 分類코드 = '人Z01下';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터프로그래머 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 分類코드 ~* '人z01下';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터프로그래머 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 分類코드 like '_Z01_';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터프로그래머 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 分類코드 like '_Z%';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터프로그래머 | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터디스플레이 | 機A01上 |
|
||||
컴퓨터그래픽스 | 分B10中 |
|
||||
(2 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';
|
||||
용어 | 分類코드 | 비고1a라구
|
||||
------------------+----------+------------
|
||||
컴퓨터디스플레이 | 機A01上 |
|
||||
컴퓨터그래픽스 | 分B10中 |
|
||||
(2 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select *,character_length(용어) from 計算機용어;
|
||||
용어 | 分類코드 | 비고1a라구 | char_length
|
||||
------------------+----------+------------+-------------
|
||||
컴퓨터디스플레이 | 機A01上 | | 8
|
||||
컴퓨터그래픽스 | 分B10中 | | 7
|
||||
컴퓨터프로그래머 | 人Z01下 | | 8
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "bfeb"
|
||||
select *,octet_length(용어) from 計算機용어;
|
||||
용어 | 分類코드 | 비고1a라구 | octet_length
|
||||
------------------+----------+------------+--------------
|
||||
컴퓨터디스플레이 | 機A01上 | | 16
|
||||
컴퓨터그래픽스 | 分B10中 | | 14
|
||||
컴퓨터프로그래머 | 人Z01下 | | 16
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "bfeb"
|
||||
select *,position('디' in 용어) from 計算機용어;
|
||||
용어 | 分類코드 | 비고1a라구 | strpos
|
||||
------------------+----------+------------+--------
|
||||
컴퓨터디스플레이 | 機A01上 | | 4
|
||||
컴퓨터그래픽스 | 分B10中 | | 0
|
||||
컴퓨터프로그래머 | 人Z01下 | | 0
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "bfeb"
|
||||
select *,substring(용어 from 3 for 4) from 計算機용어;
|
||||
용어 | 分類코드 | 비고1a라구 | substr
|
||||
------------------+----------+------------+----------
|
||||
컴퓨터디스플레이 | 機A01上 | | 터디스플
|
||||
컴퓨터그래픽스 | 分B10中 | | 터그래픽
|
||||
컴퓨터프로그래머 | 人Z01下 | | 터프로그
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "bfeb"
|
||||
|
@ -1,85 +1,38 @@
|
||||
drop table 燹俑骜砧;
|
||||
ERROR: Relation '燹俑骜砧' does not exist
|
||||
ERROR: parser: parse error at or near "("
|
||||
create table 燹俑骜砧 (如淦杀 text, 狞瞥婉螭 varchar, 氢蛇 varchar(16));
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 燹俑骜砧index1 on 燹俑骜砧 using btree (如淦杀);
|
||||
ERROR: parser: parse error at or near "("
|
||||
create index 燹俑骜砧index2 on 燹俑骜砧 using hash (狞瞥婉螭);
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 燹俑骜砧 values ('缳妾淦', '绠绠绎世', '啤A01念');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 燹俑骜砧 values ('犒葸淦', '芈溷却宇狞瞥', '你B10你');
|
||||
ERROR: parser: parse error at or near "("
|
||||
insert into 燹俑骜砧 values ('螫悖淦', '印汤洗枪却宇狞瞥', '仨Z01摩');
|
||||
ERROR: parser: parse error at or near "("
|
||||
vacuum 燹俑骜砧;
|
||||
ERROR: parser: parse error at or near "("
|
||||
select * from 燹俑骜砧;
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+------------------+---------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念
|
||||
犒葸淦 | 芈溷却宇狞瞥 | 你B10你
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 氢蛇 = '仨Z01摩';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+------------------+---------
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 氢蛇 ~* '仨z01摩';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+------------------+---------
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 氢蛇 like '_Z01_';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+------------------+---------
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 氢蛇 like '_Z%';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+------------------+---------
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 狞瞥婉螭 ~ '绠绠绎[凫卮世]';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+----------+---------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select * from 燹俑骜砧 where 狞瞥婉螭 ~* '绠绠绎[凫卮世]';
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇
|
||||
--------+----------+---------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念
|
||||
(1 row)
|
||||
|
||||
ERROR: parser: parse error at or near "92"
|
||||
select *, character_length(如淦杀) from 燹俑骜砧;
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇 | char_length
|
||||
--------+------------------+---------+-------------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念 | 3
|
||||
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 3
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "c8e7"
|
||||
select *, octet_length(如淦杀) from 燹俑骜砧;
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇 | octet_length
|
||||
--------+------------------+---------+--------------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念 | 6
|
||||
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 6
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 6
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "c8e7"
|
||||
select *, position('却宇' in 狞瞥婉螭) from 燹俑骜砧;
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇 | strpos
|
||||
--------+------------------+---------+--------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念 | 0
|
||||
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 5
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "c4fc"
|
||||
select *, substring(狞瞥婉螭 from 3 for 6 ) from 燹俑骜砧;
|
||||
如淦杀 | 狞瞥婉螭 | 氢蛇 | substr
|
||||
--------+------------------+---------+--------------
|
||||
缳妾淦 | 绠绠绎世 | 啤A01念 | 绎世
|
||||
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 却宇狞瞥
|
||||
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 洗枪却宇狞瞥
|
||||
(3 rows)
|
||||
|
||||
ERROR: parser: parse error at or near "c4fc"
|
||||
|
@ -1,5 +1,5 @@
|
||||
drop table ’·×’»»’µ¡’ÍÑ’¸ì;
|
||||
ERROR: Relation '’·×’»»’µ¡’ÍÑ’¸ì' does not exist
|
||||
ERROR: table "’·×’»»’µ¡’ÍÑ’¸ì" does not exist
|
||||
create table ’·×’»»’µ¡’ÍÑ’¸ì (’ÍÑ’¸ì text, ’ʬ’Îà’¥³’¡¼’¥É varchar, ’È÷’¹Í1A’¤À’¤è char(16));
|
||||
create index ’·×’»»’µ¡’ÍÑ’¸ìindex1 on ’·×’»»’µ¡’ÍÑ’¸ì using btree (’ÍÑ’¸ì);
|
||||
create index ’·×’»»’µ¡’ÍÑ’¸ìindex2 on ’·×’»»’µ¡’ÍÑ’¸ì using hash (’ʬ’Îà’¥³’¡¼’¥É);
|
||||
@ -22,71 +22,70 @@ select * from
|
||||
(1 row)
|
||||
|
||||
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É ~* '’¿Íz01’²¼';
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------------------------------------+-----------------+----------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ |
|
||||
(1 row)
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------+-----------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z01_';
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------------------------------------+-----------------+----------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ |
|
||||
(1 row)
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------+-----------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z%';
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------------------------------------+-----------------+----------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ |
|
||||
(1 row)
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
--------+-----------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~ '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
-----------------------------------------+-----------------+----------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å |
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ |
|
||||
(2 rows)
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ |
|
||||
(3 rows)
|
||||
|
||||
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~* '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è
|
||||
-----------------------------------------+-----------------+----------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å |
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ |
|
||||
(2 rows)
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ |
|
||||
(3 rows)
|
||||
|
||||
select *,character_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | char_length
|
||||
-----------------------------------------+-----------------+----------------+-------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 12
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 13
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 12
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 18
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 20
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 18
|
||||
(3 rows)
|
||||
|
||||
select *,octet_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | octet_length
|
||||
-----------------------------------------+-----------------+----------------+--------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 36
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 39
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 36
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 54
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 59
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 54
|
||||
(3 rows)
|
||||
|
||||
select *,position('’¥Ç' in ’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | strpos
|
||||
-----------------------------------------+-----------------+----------------+--------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 7
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 0
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 0
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | position
|
||||
-----------------------------------------+-----------------+----------------+----------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | 0
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | 0
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | 0
|
||||
(3 rows)
|
||||
|
||||
select *,substring(’ÍÑ’¸ì from 10 for 4) from ’·×’»»’µ¡’ÍÑ’¸ì;
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | substr
|
||||
-----------------------------------------+-----------------+----------------+--------------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | ’¥×’¥ì’¥¤
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | ’¥£’¥Ã’¥¯’¥¹
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | ’¥é’¥Þ’¡¼
|
||||
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | ’È÷’¹Í1a’¤À’¤è | substring
|
||||
-----------------------------------------+-----------------+----------------+-----------
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | ’µ¡A01’¾å | | ’¥Ç’¥£’¥
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ’ʬB10’Ãæ | | ’¥°’¥é’¥
|
||||
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ’¿ÍZ01’²¼ | | ’¥×’¥í’¥
|
||||
(3 rows)
|
||||
|
||||
drop table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
|
||||
ERROR: Relation '‘¼Æ‘Ëã‘»ú‘Êõ‘Óï' does not exist
|
||||
ERROR: table "‘¼Æ‘Ëã‘»ú‘Êõ‘Óï" does not exist
|
||||
create table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï(‘Êõ‘Óï text, ‘·Ö‘Àà‘ºÅ varchar, ‘±¸‘×¢1A char(16));
|
||||
create index ‘¼Æ‘Ëã‘»ú‘Êõ‘Óïindex1 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘Êõ‘Óï);
|
||||
create index ‘¼Æ‘Ëã‘»ú‘Êõ‘Óïindex2 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘·Ö‘Àà‘ºÅ);
|
||||
@ -109,71 +108,66 @@ select * from
|
||||
(1 row)
|
||||
|
||||
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ ~* '‘ÈËz01‘ÏÂ';
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
-----------------+-----------+----------
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï |
|
||||
(1 row)
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
--------+-----------+----------
|
||||
(0 rows)
|
||||
|
||||
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z01_';
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
-----------------+-----------+----------
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï |
|
||||
(1 row)
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
--------+-----------+----------
|
||||
(0 rows)
|
||||
|
||||
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z%';
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
-----------------+-----------+----------
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï |
|
||||
(1 row)
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
--------+-----------+----------
|
||||
(0 rows)
|
||||
|
||||
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~ '‘µç‘ÄÔ[‘Ïԑͼ]';
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
-----------------+-----------+----------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ |
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ |
|
||||
(2 rows)
|
||||
(1 row)
|
||||
|
||||
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~* '‘µç‘ÄÔ[‘Ïԑͼ]';
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a
|
||||
-----------------+-----------+----------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ |
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ |
|
||||
(2 rows)
|
||||
(1 row)
|
||||
|
||||
select *,character_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | char_length
|
||||
-----------------+-----------+----------+-------------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 5
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 4
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 5
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 8
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 6
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 8
|
||||
(3 rows)
|
||||
|
||||
select *,octet_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | octet_length
|
||||
-----------------+-----------+----------+--------------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 15
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 12
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 15
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 23
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 18
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 23
|
||||
(3 rows)
|
||||
|
||||
select *,position('‘ÏÔ' in ‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | strpos
|
||||
-----------------+-----------+----------+--------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 3
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 0
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 0
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | position
|
||||
-----------------+-----------+----------+----------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | 0
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | 0
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | 0
|
||||
(3 rows)
|
||||
|
||||
select *,substring(‘Êõ‘Óï from 3 for 4) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | substr
|
||||
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ‘±¸‘×¢1a | substring
|
||||
-----------------+-----------+----------+-----------
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | ‘Ïԑʾ‘ÆÁ
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | ‘ͼ‘ÐÎ
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | ‘³Ì‘Ðò‘Ô±
|
||||
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | ‘»úA01‘ÉÏ | | ÄÔ‘Ïԑʾ
|
||||
‘µç‘Äԑͼ‘ÐÎ | ‘·ÖB01‘ÖÐ | | Äԑͼ‘ÐÎ
|
||||
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ‘ÈËZ01‘Ï | | ÄÔ‘³Ì‘Ðò
|
||||
(3 rows)
|
||||
|
||||
drop table “ͪ“ß©“Ѧ“¿ë“¾î;
|
||||
ERROR: Relation '“ͪ“ß©“Ѧ“¿ë“¾î' does not exist
|
||||
ERROR: table "“ͪ“ß©“Ѧ“¿ë“¾î" does not exist
|
||||
create table “ͪ“ß©“Ѧ“¿ë“¾î (“¿ë“¾î text, “Ý“׾“ÄÚ“µå varchar, “ºñ“°í1A“¶ó“±¸ char(16));
|
||||
create index “ͪ“ß©“Ѧ“¿ë“¾îindex1 on “ͪ“ß©“Ѧ“¿ë“¾î using btree (“¿ë“¾î);
|
||||
create index “ͪ“ß©“Ѧ“¿ë“¾îindex2 on “ͪ“ß©“Ѧ“¿ë“¾î using hash (“Ý“׾“ÄÚ“µå);
|
||||
@ -196,71 +190,64 @@ select * from
|
||||
(1 row)
|
||||
|
||||
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå ~* '“ìÑz01“ù»';
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------------------------+--------------+----------------
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» |
|
||||
(1 row)
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------+--------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z01_';
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------------------------+--------------+----------------
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» |
|
||||
(1 row)
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------+--------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z%';
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------------------------+--------------+----------------
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» |
|
||||
(1 row)
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------+--------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~ '“Äēǻ“ÅÍ[“µð“±×]';
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------------------------+--------------+----------------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ |
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé |
|
||||
(2 rows)
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------+--------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~* '“Äēǻ“ÅÍ[“µð“±×]';
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------------------------+--------------+----------------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ |
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé |
|
||||
(2 rows)
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
|
||||
--------+--------------+----------------
|
||||
(0 rows)
|
||||
|
||||
select *,character_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | char_length
|
||||
--------------------------+--------------+----------------+-------------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 8
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 7
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 8
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 12
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 11
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 12
|
||||
(3 rows)
|
||||
|
||||
select *,octet_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | octet_length
|
||||
--------------------------+--------------+----------------+--------------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 24
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 21
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 24
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 36
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 32
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 36
|
||||
(3 rows)
|
||||
|
||||
select *,position('“µð' in “¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | strpos
|
||||
--------------------------+--------------+----------------+--------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 4
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | position
|
||||
--------------------------+--------------+----------------+----------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 0
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0
|
||||
(3 rows)
|
||||
|
||||
select *,substring(“¿ë“¾î from 3 for 4) from “ͪ“ß©“Ѧ“¿ë“¾î;
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | substr
|
||||
--------------------------+--------------+----------------+--------------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | “ÅÍ“µð“½º“ÇÃ
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | “ÅÍ“±×“·¡“ÇÈ
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | “ÅÍ“ÇÁ“·Î“±×
|
||||
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | substring
|
||||
--------------------------+--------------+----------------+-----------
|
||||
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | Ç»“ÅÍ“µð
|
||||
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | Ç»“ÅÍ“±×
|
||||
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | Ç»“ÅÍ“ÇÁ
|
||||
(3 rows)
|
||||
|
||||
drop table test;
|
||||
ERROR: Relation 'test' does not exist
|
||||
ERROR: table "test" does not exist
|
||||
create table test (t text);
|
||||
insert into test values('ENGLISH');
|
||||
insert into test values('FRAN<41>ÇAIS');
|
||||
@ -305,25 +292,25 @@ select *,octet_length(t) from test;
|
||||
t | octet_length
|
||||
--------------------------------------+--------------
|
||||
ENGLISH | 7
|
||||
FRAN<41>ÇAIS | 9
|
||||
ESPA<50>ÑOL | 8
|
||||
<20>ÍSLENSKA | 9
|
||||
ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 36
|
||||
FRAN<41>ÇAIS | 10
|
||||
ESPA<50>ÑOL | 9
|
||||
<20>ÍSLENSKA | 10
|
||||
ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 39
|
||||
(5 rows)
|
||||
|
||||
select *,position('L' in t) from test;
|
||||
t | strpos
|
||||
--------------------------------------+--------
|
||||
ENGLISH | 4
|
||||
FRAN<41>ÇAIS | 0
|
||||
ESPA<50>ÑOL | 7
|
||||
<20>ÍSLENSKA | 3
|
||||
ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 4
|
||||
t | position
|
||||
--------------------------------------+----------
|
||||
ENGLISH | 4
|
||||
FRAN<41>ÇAIS | 0
|
||||
ESPA<50>ÑOL | 7
|
||||
<20>ÍSLENSKA | 3
|
||||
ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 4
|
||||
(5 rows)
|
||||
|
||||
select *,substring(t from 3 for 4) from test;
|
||||
t | substr
|
||||
--------------------------------------+--------
|
||||
t | substring
|
||||
--------------------------------------+-----------
|
||||
ENGLISH | GLIS
|
||||
FRAN<41>ÇAIS | AN<41>ÇA
|
||||
ESPA<50>ÑOL | PA<50>ÑO
|
||||
|
@ -69,16 +69,16 @@ select *,octet_length(
|
||||
(3 rows)
|
||||
|
||||
select *,position('デ' in 用語) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | strpos
|
||||
----------------------------+------------+------------+--------
|
||||
コンピュータディスプレイ | 機A01上 | | 7
|
||||
コンピュータグラフィックス | 分B10中 | | 0
|
||||
コンピュータプログラマー | 人Z01下 | | 0
|
||||
用語 | 分類コード | 備考1aだよ | position
|
||||
----------------------------+------------+------------+----------
|
||||
コンピュータディスプレイ | 機A01上 | | 7
|
||||
コンピュータグラフィックス | 分B10中 | | 0
|
||||
コンピュータプログラマー | 人Z01下 | | 0
|
||||
(3 rows)
|
||||
|
||||
select *,substring(用語 from 10 for 4) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | substr
|
||||
----------------------------+------------+------------+----------
|
||||
用語 | 分類コード | 備考1aだよ | substring
|
||||
----------------------------+------------+------------+-----------
|
||||
コンピュータディスプレイ | 機A01上 | | プレイ
|
||||
コンピュータグラフィックス | 分B10中 | | ィックス
|
||||
コンピュータプログラマー | 人Z01下 | | ラマー
|
||||
|
@ -1,87 +1,295 @@
|
||||
drop table 計算機用語;
|
||||
ERROR: Relation '計算機用語' does not exist
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: table "è¨æ©èª" does not exist
|
||||
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe582) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x99e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8083) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe381) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa0e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8288) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "1"
|
||||
create index 計算機用語index1 on 計算機用語 using btree (用語);
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "btree"
|
||||
create index 計算機用語index2 on 計算機用語 using hash (分類コード);
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8929) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "hash"
|
||||
insert into 計算機用語 values('コンピュータディスプレイ','機A01上');
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8397) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xace3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82a4) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9f41) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8a27) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "'"
|
||||
insert into 計算機用語 values('コンピュータグラフィックス','分B10中');
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x95e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82af) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xb927) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8642) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xad27) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "'"
|
||||
insert into 計算機用語 values('コンピュータプログラマー','人Z01下');
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x97e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83ad) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9ee3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "'"
|
||||
vacuum 計算機用語;
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: Vacuum: table not found
|
||||
select * from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
-----------------------------------------+-----------------+----------------
|
||||
コンピュータディスプレイ | 機A01上 |
|
||||
コンピュータグラフィックス | 分B10中 |
|
||||
コンピュータプログラマー | 人Z01下 |
|
||||
(3 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: Relation 'è¨æ©èª' does not exist
|
||||
select * from 計算機用語 where 分類コード = '人Z01下';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
--------------------------------------+-----------------+----------------
|
||||
コンピュータプログラマー | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "="
|
||||
select * from 計算機用語 where 分類コード ~* '人z01下';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
--------------------------------------+-----------------+----------------
|
||||
コンピュータプログラマー | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xba7a) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "~*"
|
||||
select * from 計算機用語 where 分類コード like '_Z01_';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
--------------------------------------+-----------------+----------------
|
||||
コンピュータプログラマー | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "'"
|
||||
select * from 計算機用語 where 分類コード like '_Z%';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
--------------------------------------+-----------------+----------------
|
||||
コンピュータプログラマー | 人Z01下 |
|
||||
(1 row)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "'"
|
||||
select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
-----------------------------------------+-----------------+----------------
|
||||
コンピュータディスプレイ | 機A01上 |
|
||||
コンピュータグラフィックス | 分B10中 |
|
||||
(2 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "~"
|
||||
select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]';
|
||||
用語 | 分類コード | 備考1aだよ
|
||||
-----------------------------------------+-----------------+----------------
|
||||
コンピュータディスプレイ | 機A01上 |
|
||||
コンピュータグラフィックス | 分B10中 |
|
||||
(2 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "~*"
|
||||
select *,character_length(用語) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | char_length
|
||||
-----------------------------------------+-----------------+----------------+-------------
|
||||
コンピュータディスプレイ | 機A01上 | | 12
|
||||
コンピュータグラフィックス | 分B10中 | | 13
|
||||
コンピュータプログラマー | 人Z01下 | | 12
|
||||
(3 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: Relation 'è¨æ©èª' does not exist
|
||||
select *,octet_length(用語) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | octet_length
|
||||
-----------------------------------------+-----------------+----------------+--------------
|
||||
コンピュータディスプレイ | 機A01上 | | 36
|
||||
コンピュータグラフィックス | 分B10中 | | 39
|
||||
コンピュータプログラマー | 人Z01下 | | 36
|
||||
(3 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: Relation 'è¨æ©èª' does not exist
|
||||
select *,position('デ' in 用語) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | strpos
|
||||
-----------------------------------------+-----------------+----------------+--------
|
||||
コンピュータディスプレイ | 機A01上 | | 7
|
||||
コンピュータグラフィックス | 分B10中 | | 0
|
||||
コンピュータプログラマー | 人Z01下 | | 0
|
||||
(3 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x8727) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: Unterminated quoted string
|
||||
select *,substring(用語 from 10 for 4) from 計算機用語;
|
||||
用語 | 分類コード | 備考1aだよ | substr
|
||||
-----------------------------------------+-----------------+----------------+--------------
|
||||
コンピュータディスプレイ | 機A01上 | | プレイ
|
||||
コンピュータグラフィックス | 分B10中 | | ィックス
|
||||
コンピュータプログラマー | 人Z01下 | | ラマー
|
||||
(3 rows)
|
||||
|
||||
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
|
||||
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
|
||||
ERROR: parser: parse error at or near "from"
|
||||
|
Loading…
x
Reference in New Issue
Block a user