Hi, i have set up a table, where two fields (creation_dt and modification_dt) always get the actual date/time by default when doing an INSERT. my question is, how is it possible to let the field modification_dt change when doing an UPDATE? Is there a way to solve it in SQL? (actually i found something in the mailing list archive, where the sender solves the problem by creating a trigger and a C function, but i would really apppreciate if there was a solution in SQL only. anyway, that solution is at http://www.PostgreSQL.ORG/mhonarc/pgsql-sql/1998-06/msg00056.html ) Zsolt Tulassay ps i'm not on the mailing list so please send a copy to my address as well. thanks
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера