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 / C++ / MFC
  4. SQL Server - Stored procedure

SQL Server - Stored procedure

Scheduled Pinned Locked Moved C / C++ / MFC
databasec++sql-serversysadmin
3 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.
  • S Offline
    S Offline
    Sujan Christo
    wrote on last edited by
    #1

    Hi all, Is there any way to check whether a stored procedure is present in the Database or not. Iam using SQL Server as the db and using ADO 4 programming using MS VC++ 6.0 Thanx in advance Sujan Note: I KNOW THAT WE CAN CHECK IT USING TRY-CATCH,IS THERE ANY OTHER WAY OTHER THAN THIS

    T 1 Reply Last reply
    0
    • S Sujan Christo

      Hi all, Is there any way to check whether a stored procedure is present in the Database or not. Iam using SQL Server as the db and using ADO 4 programming using MS VC++ 6.0 Thanx in advance Sujan Note: I KNOW THAT WE CAN CHECK IT USING TRY-CATCH,IS THERE ANY OTHER WAY OTHER THAN THIS

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      use the same query that the SQL generator to see if the stored procedure is there. It is a query of dbo.master.sysobjects. Tim Smith I'm going to patent thought. I have yet to see any prior art.

      S 1 Reply Last reply
      0
      • T Tim Smith

        use the same query that the SQL generator to see if the stored procedure is there. It is a query of dbo.master.sysobjects. Tim Smith I'm going to patent thought. I have yet to see any prior art.

        S Offline
        S Offline
        Sujan Christo
        wrote on last edited by
        #3

        Hi Tim, Thanx a Lot i'll work with it. Sorry for replying late coz yesterday i not @ the office. Thanx a Lot Sujan

        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