Link to home
Start Free TrialLog in
Avatar of Glenn Stearns
Glenn StearnsFlag for United States of America

asked on

Create Stored Procedure for SQL Script

I want to create a stored procedure to execute the following script:

UPDATE somast
set fcusrchr1 = fsono

Then I can use the stored procedure to create a SQL Agent job and schedule this to run automatically.

I think I can build the Agent job...just not sure how to create the stored procedure.

ASKER CERTIFIED SOLUTION
Avatar of mvgeertruyen
mvgeertruyen
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nathan Riley
Go to the highlighted below, right click and new stored procedure:
Untitled-1.jpg