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)
 store procedure

Author  Topic 

thaniparthi.rao
Yak Posting Veteran

96 Posts

Posted - 2008-04-04 : 05:02:19

1. can a stored procedure call itself? if else how ?>
2. how to run a job for a stored procedure to exucte every day.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-04-04 : 05:10:04
1.It can . But why do want it to execute recursively?
2.Configure a new SQL Server Agent job to execute the stored procedure and Schedule it to run daily. It will run automatically each day.
Go to Top of Page

thaniparthi.rao
Yak Posting Veteran

96 Posts

Posted - 2008-04-04 : 05:13:01
could u tell me the syntax for it .
Go to Top of Page
   

- Advertisement -