copying multiple store procedures across databases

  • Hi all,

    I came across a scenario where i have to copy the stored procedures across the databases.can you suggest me the best approach. I have almost 200 stored procs in my database.Thanks in advance.

    regards.

  • Hi,

    In SQL Management Studio right click database-> tasks->Generate scripts. Select "Stored procedures" as Object Types and don't forget to script objects permissions under Script Options.

  • thank you.

  • You just want to copy, the SP's or any planning for replication kind of ?

    If copying alone, then as suggested generate the script file and execute it 🙂

    enjoy!!

  • hi,just trying to copy the sp's.Thanks for ur response.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply