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. General Programming
  3. C#
  4. List of stored procedures in Access

List of stored procedures in Access

Scheduled Pinned Locked Moved C#
databasealgorithmsquestion
6 Posts 3 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.
  • C Offline
    C Offline
    Chals
    wrote on last edited by
    #1

    Hello, Is there any way to get a list of stored procedures in an MS Access database? Been searching for a while and found nothing :( Thanks in advance

    C J 2 Replies Last reply
    0
    • C Chals

      Hello, Is there any way to get a list of stored procedures in an MS Access database? Been searching for a while and found nothing :( Thanks in advance

      C Offline
      C Offline
      cobyjone
      wrote on last edited by
      #2

      Create a view in sql server around the following sql statement and select out of the view in access: select name from dbo.sysobjects where xtype = 'P' and status >= 0 and name not like 'dtp%' order by name

      C 1 Reply Last reply
      0
      • C cobyjone

        Create a view in sql server around the following sql statement and select out of the view in access: select name from dbo.sysobjects where xtype = 'P' and status >= 0 and name not like 'dtp%' order by name

        C Offline
        C Offline
        Chals
        wrote on last edited by
        #3

        Excuse my ignorance, but how am I supposed to create a view in sql server working with MS Access? Could you be more explicit please? Thanks

        C 1 Reply Last reply
        0
        • C Chals

          Excuse my ignorance, but how am I supposed to create a view in sql server working with MS Access? Could you be more explicit please? Thanks

          C Offline
          C Offline
          cobyjone
          wrote on last edited by
          #4

          Create a view using query analyzer. Grant select to public. Then access it via a function in vba or directly with a linked ODBC data source. sql: Create View storedproclist as Select name From dbo.sysobjects Where xtype = 'P' and status >= 0 and name not like 'dtp%' Go Grant Select On storedproclist To Public

          1 Reply Last reply
          0
          • C Chals

            Hello, Is there any way to get a list of stored procedures in an MS Access database? Been searching for a while and found nothing :( Thanks in advance

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #5

            Access doesnt have stored procedures, it has queries and I dont think there is a built-in way of enumerating them.

            C 1 Reply Last reply
            0
            • J J4amieC

              Access doesnt have stored procedures, it has queries and I dont think there is a built-in way of enumerating them.

              C Offline
              C Offline
              Chals
              wrote on last edited by
              #6

              Actually, since Access 2000, it does support stored procedures, you can create them through OleDbCommand objects. Problem is there seems to be no way of listing them, unless our cryptic friend's solution works. I yet have to try it.

              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