Hi,
I was wondering if it is possible to have conditional statements in
postgres, like there are in M$SQL?
Simplified example:
IF NOT EXISTS(SELECT * FROM testtable WHERE id=3)
INSERT INTO testtable (id) VALUES (3)
TIA,
Mark.
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.