Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Store Procedures

Status
Not open for further replies.

Tarzan613

Programmer
Jun 10, 2002
10
0
0
US
Hi All,

I need to create two table with records(it's not a problem)
, but i would like to set up a stored procedure in order to take weekly iformation from on table and insert (or update) in another..
Stored Procedure has to work automaticaly (without me running it..)
Thank you very much in advance..
 
Considering you have the sql statements you have no propblem creating the sproc.
in management ==> sql server agent ==> jobs
You can add a job and run a sql statement like:
use myDatabaseWhereTheSprocIs
exec mySproc

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top