Semantics of LIKE

Поиск
Список
Период
Сортировка
От Craig Johannsen
Тема Semantics of LIKE
Дата
Msg-id 36DB7F03.E3750759@home.com
обсуждение исходный текст
Список pgsql-sql
How does the LIKE predicate operator treat trailing spaces
in a CHAR column.  For example,
create table test(c1 char(5));
insert into test('abc');
select c1 from test where c1 like 'abc%';
should retrieve one row.
select c1 from test where c1 like 'abc';
should retrieve zero rows.
select c1 from test where c1 like 'abc  ';
should retrieve one row.

Correct?  Does this conform exactly to the SQL 92 spec?

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Stan Brown"
Дата:
Сообщение: Staus of Primary/Foreign key?
Следующее
От: CIMPOESU Teodor
Дата:
Сообщение: Persistent connection in PostGresSQL