stored procedure

Last post 04-23-2005 3:32 PM by Scott Mitchell. 2 replies.

Sort Posts:

  • Cool [cool] stored procedure

    04-23-2005, 3:21 PM
    • Member
      65 point Member
    • codingnovice
    • Member since 12-25-2004, 11:31 AM
    • Posts 13

    dear all,

    what is the official term for a stored procedure for e.g. a connection string that is stored in one place and refered to in your code?am i right in saying that stored procedures are usually declared in the webconfig file??Big Smile [:D]

     

     

     

  • Re: stored procedure

    04-23-2005, 3:28 PM
    • Star
      13,173 point Star
    • SonuKapoor
    • Member since 04-11-2004, 12:24 PM
    • Montreal/Canada
    • Posts 2,652
    • TrustedFriends-MVPs
    Usually not, stored procedures are used as they are in the code direclty. I never store them in a web.config - though you could do it if you want.
  • Geeked [8-|] Re: stored procedure

    04-23-2005, 3:32 PM
    • Contributor
      4,100 point Contributor
    • Scott Mitchell
    • Member since 06-15-2002, 4:41 PM
    • San Diego, CA
    • Posts 707
    • ASPInsiders
      TrustedFriends-MVPs
    A stored procedure is sort of function stored at the database level - you can have a set of SQL statements within the stored procedure; the stored procedure can take input parameters and have output parameters as well.  For more information see: Writing a Stored Procedure.

    You can store connection string information in Web.config, yes.  I don't know if this has an official name, though.  To learn more about saving connection strings in Web.config see: Specifying Configuration Settings in Web.config.

    Happy Programming!
    Happy Programming!


    -- Scott Mitchell
    -- mitchell@4guysfromrolla.com
    -- http://scottonwriting.net/sowblog/
    -- http://www.4GuysFromRolla.com/ScottMitchell.shtml
Page 1 of 1 (3 items)