Results 1 to 3 of 3

Thread: calling SqlServer stored proc using ASP

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    65
    hi,
    i am trying to use stored procedures written in SQLServer and calling from Activer Server pages.
    How this is done ? I have called stored procs from VB
    applications.
    Is it different while calling from ASP ?
    thanks
    sarath

  2. #2
    Guest
    It is the same:

    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open YourConnectString

    Conn.Execute usp_YourStoredProc @param1 = param1, @param2 = param2

    you can also execute stored proc through recordset objects and command objects.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    65

    thanks bubba..

    i see that it is no different from vb..
    thanks
    sarath

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width