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. MySQL
  4. stored procedure

stored procedure

Scheduled Pinned Locked Moved MySQL
databasetutorial
3 Posts 3 Posters 23 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.
  • G Offline
    G Offline
    ghantaanil
    wrote on last edited by
    #1

    how to work with stored procedure in sqlserver

    R G 2 Replies Last reply
    0
    • G ghantaanil

      how to work with stored procedure in sqlserver

      R Offline
      R Offline
      RaviRanjanKr
      wrote on last edited by
      #2

      Stored procedures assist in achieving a consistent implementation of logic across applications. Stored procedures can also improve performance. Many tasks are implemented as a series of SQL statements. Stored procedures can also shield users from needing to know the details of the tables in the database. have a look at given links for getting references Create a Stored Procedure[^] SQL Server stored procedures tutorial[^] SQL Stored Procedures[^]

      1 Reply Last reply
      0
      • G ghantaanil

        how to work with stored procedure in sqlserver

        G Offline
        G Offline
        Ganu Sharma
        wrote on last edited by
        #3

        Stored procedure are pre-compiled object of db. they are consist of block of sql statments & procedural statements. you can call them on your db server. They accept in, out, inout parameter. Sp modify the value of out parameter and you can send them your calling enviourment as output or similar to function returned value. but you cannot use return statement in sp. sp never return value like function. means you can only use sp output parameters for returning more values. ................. eg. Create procedure YourSpNAME @para1 int, @para2 varchar(100) output AS BEGIN select @para1 set @para2 = 'output' END @declare @output varchar(100) execute YourSpNAME 1045, @output output print @output

        Regards: Ganu Sharma Sql Developer ;)

        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