| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | LIKE 'bla%' |
| Дата | |
| Msg-id | 200009020918.e829IIh55600@hub.org обсуждение |
| Ответы |
Re: LIKE 'bla%'
|
| Список | pgsql-bugs |
Henrik Steffen (steffen@city-map.de) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description LIKE 'bla%' Long Description I just wanted to delete a record from a table, using DELETE FROM MYTABLE WHERE NAME LIKE 'Ant%'; knowing that there existed only one record with 'Anton' as name. However, the code above delivered 'DELETE 0' Then I did this: DELETE FROM MYTABLE WHERE NAME LIKE 'Anto%'; which gave 'DELETE 1' Isn't this strange? Sample Code DELETE FROM MYTABLE WHERE NAME LIKE 'Ant%'; <=> DELETE FROM MYTABLE WHERE NAME LIKE 'Anto%'; No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера