elo =)
I have a table with a TIMESTAMP in it, where i like a PROCEDURE to do a check though the table, if any of the record is older then 2weeks (14days) they shall be deleted.
I have tryed something, where i use SELECT EXTRACT YEARDAY, as i saw days was easy to work with, after that i cant get weeks out. But i have still not got any luck geting something together. If u have any idea plz reply =)
(using IB 6.0)
Thx
Gandi
I have a table with a TIMESTAMP in it, where i like a PROCEDURE to do a check though the table, if any of the record is older then 2weeks (14days) they shall be deleted.
I have tryed something, where i use SELECT EXTRACT YEARDAY, as i saw days was easy to work with, after that i cant get weeks out. But i have still not got any luck geting something together. If u have any idea plz reply =)
(using IB 6.0)
Thx
Gandi