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.
| Author |
Topic |
|
eevans
Starting Member
48 Posts |
Posted - 2009-03-23 : 08:13:16
|
| Hello,I have an insert statement that I would like to execute automatically at 5PM everday. What is the best way to accomplish this?INSERT INTO d_person (usr_id, job_name, job_time)SELECT usr_id, ‘d_person_insert’, getdate() FROM customer_masterWHERE status='c' ANDusr_id NOT IN (SELECT usr_id FROM d_person)Thanks. |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-03-23 : 08:37:14
|
Make a Job (SQL Agent) and Schedule it.Webfred No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|