Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trigger insert/update when date changes

Status
Not open for further replies.

JJJ777

Programmer
Jun 5, 2002
33
0
0
MY
hi guys....

How can i trigger a function base on date changes on server.

examples:

i have 2 tables A and B :

so everyday day when the date change data will copy form table
A and insert it on Table B.

Besides set to run the file on crontab, how can i do it on postgresql ..In other words how to set the date in my table auto update when the server date changes.

tq in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top