Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/04/2002, 14:03
Avatar de MariHo
MariHo
 
Fecha de Ingreso: abril-2001
Mensajes: 156
Antigüedad: 24 años
Puntos: 1
Re: Cómo se ejecuta un store procedure en ASP

Mira un código mío utilizando procedimientos almacenados:

Código:
Set RSNoticias = Server.CreateObject("ADODB.Recordset")
	'Procedimientos Almacenados
	SQLNoticias= "sp_noticias '" & sFecha & "'"
'Vamos a utilizar el Recordset mas eficiente
'CursorType = Forward-Only 
RSNoticias.CursorType = 0
'LockType = Read-Only
RSNoticias.LockType = 1
'CursorLocation = adUseClient
RSNoticias.CursorLocation = 3
'Llamo al Sub de Conexion
call Conexion
'Y abrimos el Recordset
RSNoticias.Open SQLNoticias, ObjConn


MariHo
;¬)