|
-
Mar 12th, 2001, 03:15 PM
#1
Thread Starter
Lively Member
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
-
Mar 13th, 2001, 08:04 AM
#2
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.
-
Mar 13th, 2001, 02:36 PM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|