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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trigger by date

Status
Not open for further replies.

ching0418

MIS
Mar 6, 2002
96
HK
Is it possible to have an update in the database triggered by the date?

What I want to do is to set a data of one column back to 1 when the year changes.

For example:
Today is Dec 31, 2005
Series values is 853

By tomorrow, January 1, 2006, the series value should be 1.

please help....thanks in advance
 
use DTS and set up an update job to run on 1 January every year that does your update.

[bandito] [blue]DBomrrsm[/blue] [bandito]

[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
 
HI,
setup a simple scheduled job that that runs yearly and incorporte desired update code in it.

B.R,
miq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top