| От | Jeng Yu |
|---|---|
| Тема | Update Query Problem |
| Дата | |
| Msg-id | 111872.36617.qm@web23006.mail.ird.yahoo.com обсуждение |
| Ответы |
Re: Update Query Problem
|
| Список | pgsql-general |
Hi People! I'm doing an application and I've chosen postgresql for the backend db. I need to use SQL update command like this in my application: update mytable set x='20' where id='someid' order by id limit 1; In other words, I want to update just one row of the table if there are more than one row that the query finds. It doesn't work for me in postgresql. What's the way I can do this in postgresql? Please forgive me if this has been answered before. Please point me to the right doc. I couldn't readily find the answer. Thanks, Jeng Yu
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера