728x90
반응형
환경정보
- Greenplum 6.12(Postgresql 9.4 기반)
사전준비
drop table if exists public.test;
create table public.test(
no serial primary key
, title varchar(300) not null
, memo text null
, create_dt timestamp default current_timestamp
)
distributed by (no);
insert into public.test
(title)
values
('abcdeFg'),('Ef');
select *
from public.test;
like 구문을 이용하여 '%ef%' 를 조회하면 데이터가 조회되지 않는다.
하지만 ilike를 이용하면 데이터가 조회되는 것을 확인할 수 있다.
Postgresql 공식사이트, functions matching - like 부분을 잘보면(?) ilike 를 확인할 수 있을 것이다.
공식사이트 : https://www.postgresql.org/docs/9.4/functions-matching.html
728x90
반응형
'Database > Greenplum' 카테고리의 다른 글
[Greenplum] PXF 6.1.0 설치방법 (2) | 2021.08.24 |
---|---|
[Greenplum] DBeaver 접속시 master-only utility mode FATAL 에러발생 (0) | 2021.07.22 |
[Greenplum] 6.12.0 버전에서 PANIC 상황을 발생시키는 방법 (0) | 2021.07.15 |
RefCursor를 이용하여 Multiple Results(다중 결과 데이터) Function 개발 (0) | 2021.07.07 |
[Greenplum] Function 개발 및 디버깅을 위한 RAISE 로깅 사용방법 (0) | 2021.06.18 |