Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can I write a trigger that fires at a particular time every day?

CanI write a trigger that will get fired everyday at a particular time and the table will put its data in another table?

You cannot write a trigger to fire at a particular time. However, you can write a stored procedure that will do the insert statement and have a SQL*Plus shell execute it at a specific time.

On unix you can use crontab to schedule the SQL task to run at a specific time. On Windows 2000 there is also a Windows task manager that can invoke SQL*Plus.

For More Information


Dig Deeper on Oracle database design and architecture

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close