Steps to copying an Existing Stored Procedure and saving the copy back to the SP list in Microsoft SQL Server Management Studio

Cannot seem to get the SP's I am modifying to save in the Object Explorer List on the left of the SQL SERVER Mngt Studio 2008.

Here is the code I put in what am I doing wrong.
original code:
ALTER PROCEDURE [dbo].[Rpt_SalesSummaryAdopted_sproc]
What I do with the code
CREATE PROCEDURE [dbo].[Rpt_SalesSummaryAdopted_sproc_RB]

Then I go over to the file section and chose save as ???.SQL then I close the SQL SERVER Mngt Studio 2008 and upon reopen still no new copy of the code I want to work with....?
Can anyone layout the steps........please.
RUA Volunteer2?Tableau Trainer & Consultant Sales Exec.Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eugene ZCommented:
make sure the create proc ran in the right db

you need to execute the "create proc"
to insure it
add to query:

use yourDB
create proc
after you run create proc
and there are no errors
- if you wish to see it in GUI:
 right click on DB  (proc) - refresh and check

also you may just check from

use yourdb
select * from sysobjects where name ='Rpt_SalesSummaryAdopted_sproc_RB'
Eugene ZCommented:

How to: Modify a Stored Procedure (SQL Server Management Studio)

How to: Create a Stored Procedure (SQL Server Management Studio)

just in case
How to: Rename a Stored Procedure (SQL Server Management Studio)
Remember to do a refresh on the server node in SSMS to see the sp in the procedures list.
Beth KludtIndependent Business OwnerCommented:
It sounds like you are creating a script that will create you new sp but then instead of running the script you just save the script (Then I go over to the file section and chose save as ???.SQL ).  You probably entered a file name in the "save as" dialog.  
Open the script back up in Management Studio (File\Open\File) and execute the script.  This will create your new stored proc.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RUA Volunteer2?Tableau Trainer & Consultant Sales Exec.Author Commented:
Thank you for the help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.