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)
 Schedule a query update

Author  Topic 

leodone
Starting Member

30 Posts

Posted - 2010-08-17 : 15:55:45
I have a update query that needs to be schedule run every night.


update document set ftsstatus = 9
where drawer not in (select drawer from drawer where globalfts = 1)
and (ftsstatus is null or ftsstatus = 3)

How do I set this up in SQL sever 2005?

Thanks,

Leo

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2010-08-17 : 16:35:48
check JOBS in books online

--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -