Hi everyone,
Does anyone know if postgres has a function similar to what datediff does in
mssql server? I need it to do an update similar to the one below:
"update schedule set purged = 0 where datediff(day, timein, getdate()) > 30"
I know i could pull the whole table down to my machine, modify the data and
then upload it back, but that's really stupid not to mention what it'll do
to network trafic.
Thank you very much for any answer,
Thinh