Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2004, 09:00 PM
Authorized User
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default TRIGGER USING SYSTEM CLOCK

How can i update/insert/delete in a table using trigger or SP using system clock. Like every end of the month or every friday a table is updated using a query. thanks

__________________
Proud To Be Pinoy
 
Old April 19th, 2004, 09:12 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

In Windows I know you can make Scheduled Tasks in the Control Panel. I don't know about other OS's.

HTH,

Snib

<><
 
Old April 20th, 2004, 12:43 AM
Authorized User
 
Join Date: Jun 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think the best solution is to create a SQL Server Agent job. the job can be configured to run at certain time intervals. the job could have only one step that calls a sp that does the things you want to be done.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Clock jeremy1048 Access 2 August 22nd, 2008 06:55 AM
System Clock Program nsx2200 Visual Basic 2005 Basics 1 March 26th, 2007 04:11 AM
Displaying a clock hdfireftr Visual Basic 2005 Basics 2 September 15th, 2006 01:12 PM
Countdown clock Ciarano Beginning VB 6 1 March 12th, 2004 07:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.