I want to transfer stored procedures from my development db to testing/production db without copying all the tables views etc. over.

I am working on an Intranet for my company using ASP.net and Sql Server Express.  I have Sql Server 2005 Standard on the test server.

I have the data model I want and will only add tables from here with out changing any existing tables since there are dozens of stored procedures using them already.  While I am adding pages and content to the Web App I add stored procedures and tables or change existing stored procedures and then transfer the changes over to the test server for testing.  When I copy the data file from the development computer to the test server I have been copying the whole file over which means any test data added to the test server gets erased.  

I Want to be able to update the stored procedures with out copying over the whole data file from the development computer to the test server.  Can this be done by simply passing the ldf file?  Is it possible to copy individual stored procedures, and tables from one data file to another?
CW596Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

jogosCommented:
<Can this be done by simply passing the ldf file?  >

In management studio select your database - Right clic - All tasks - Generate sql
Then you select what you want to transfer and a sql-statement will be generated for you
0

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
CW596Author Commented:
I pretty much figured that that would be the way to go.  I will keep the question open for a day or two just in case someone else has something.

Thanks jogos

0
jogosCommented:
for 75 points, i doupt it
0
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

From novice to tech pro — start learning today.