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. stored procedure yazan 2

stored procedure yazan 2

Scheduled Pinned Locked Moved Database
csharpasp-netdatabasequestionannouncement
3 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.
  • Y Offline
    Y Offline
    yazan_zahi
    wrote on last edited by
    #1

    we write the stored procedure in sqlserver2000 (update,insert,select)that better than write the statment it in asp.net code why ???

    H C 2 Replies Last reply
    0
    • Y yazan_zahi

      we write the stored procedure in sqlserver2000 (update,insert,select)that better than write the statment it in asp.net code why ???

      H Offline
      H Offline
      HimaBindu Vejella
      wrote on last edited by
      #2

      SP is a set of precompiled code. It imporoves performance of the application SPs can be reusable. If any DB logic changes it's ok if we change in procedure it self rather than modifying all the queries. SP makes maintainability also easier

      "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshers http://himabinduvejella.blogspot.com

      1 Reply Last reply
      0
      • Y yazan_zahi

        we write the stored procedure in sqlserver2000 (update,insert,select)that better than write the statment it in asp.net code why ???

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        Also, if you revoke access to the actual tables to the users and do everything through Stored Procedures then you increase the security of the application because then the the users can only do what is specified in the Stored Procedure and cannot do anything else.


        Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

        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