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!

save a script as a stored procedure???

Status
Not open for further replies.

mbair

Programmer
Aug 13, 2003
22
US
I have several scripts that I run once a week. They drop tables and manipulate data. Write now the scripts are just in notepad and I copy and paste them into query analyzer. Can I just make stored procedures out of these scripts???
 
Also, when you create a script in notepad make sure you save it as a .sql file and not a .txt file. Then you don't have to copy and paste it...just open it in Query Analyzer.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top