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. where are stored procedures stored.

where are stored procedures stored.

Scheduled Pinned Locked Moved Database
databasemysqlsql-serversysadmintutorial
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.
  • K Offline
    K Offline
    khurram_shahzad
    wrote on last edited by
    #1

    Where are Stored Procedure stores in MySQL or any other database e.g. SQL Server etc ..... Further explanation of my question, Such that if i created a database then i know all my data is in this created database ..... but if i talk about creating/using stored procedures then were are they stored. I.ve searched some example and tutorials for stored procedure ... but i didn't found aobut it. THANKS

    H 1 Reply Last reply
    0
    • K khurram_shahzad

      Where are Stored Procedure stores in MySQL or any other database e.g. SQL Server etc ..... Further explanation of my question, Such that if i created a database then i know all my data is in this created database ..... but if i talk about creating/using stored procedures then were are they stored. I.ve searched some example and tutorials for stored procedure ... but i didn't found aobut it. THANKS

      H Offline
      H Offline
      Hiren solanki
      wrote on last edited by
      #2

      khurram_shahzad wrote:

      Such that if i created a database then i know all my data is in this created database ..... but if i talk about creating/using stored procedures then were are they stored

      They are stored in hidden table of same database. You could access it using following.

      select * from sys.sql_modules where object_id=object_id('Name_of_your_sp')

      Regards, Hiren.

      My Recent Article: - Way to know which control have raised a postback
      My Recent Tip/Trick: - The ?? Operator.

      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