Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Retrieve stored procedures. Each Procedure in separate file. SQL 2008 R2

Retrieve stored procedures. Each Procedure in separate file. SQL 2008 R2

Scheduled Pinned Locked Moved Database
databasegame-devtutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MecAlex
    wrote on last edited by
    #1

    How to retrieve stored procedures from exist database each of them into separate file? I know how to retrieve all in one file, but I do not need it. Do I have to save each of them in separate file manually? All ~1500... Is there any tool? Any suggestions? :confused::confused::confused:

    We live in a Newtonian world of Einsteinian physics ruled by Frankenstein logic

    U 1 Reply Last reply
    0
    • M MecAlex

      How to retrieve stored procedures from exist database each of them into separate file? I know how to retrieve all in one file, but I do not need it. Do I have to save each of them in separate file manually? All ~1500... Is there any tool? Any suggestions? :confused::confused::confused:

      We live in a Newtonian world of Einsteinian physics ruled by Frankenstein logic

      U Offline
      U Offline
      UNCRushFan
      wrote on last edited by
      #2

      From SQL Server Management Studio 2008 R2: you can RT-click the database in question, choose Tasks -> Generate Scripts and select the objects you'd like to script out that way. There is an option to save each object to a separate file ("single file per object" option, I believe).

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups