Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Tigger to Fire Daily at 6

Author  Topic 

skaswani
Starting Member

24 Posts

Posted - 2008-11-29 : 06:18:37
hi,

is this possible to run/execute trigger automatically at a spefic time, i.e daily at 6

i'll be thankful, if some one can help me


what i want to do is,

i want to send a email with some records from sql server 2005 for all pending transcation needed to be verified,

regards

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-11-29 : 08:35:31
A trigger is fired by an action not by time.
You can use sql server agent job to schedule a statement.

Webfred


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-11-29 : 08:42:44
Seems like what you need is a sql job. create a job in sql agent to send email and schedule it to be executed at 6
Go to Top of Page

skaswani
Starting Member

24 Posts

Posted - 2008-11-29 : 10:25:21
thanks,
let me download it,

if i feel any problem, 'ill ask u

Regards,
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-11-29 : 10:42:55
Your welcome


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -