ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:stored_procedure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
userguide:stored_procedure [2015/09/12 17:43] – created mnewnhamv5:userguide:stored_procedure [2017/04/21 11:50] – external edit 127.0.0.1
Line 28: Line 28:
      
 ==== Creation ==== ==== Creation ====
-The procedure can be created by simply creating a PHP string using the above code, then executing it+The procedure can be created by simply creating a PHP string using the above code, then executing it using ''$db->execute($string)''.
  
 ===== Accessing The Procedure ===== ===== Accessing The Procedure =====
 ==== Step 1: Preparation ==== ==== Step 1: Preparation ====
-The first step is to access the procedure using the [[reference:preparesp|prepareSp()]] method. This method access the procedure and returns a handle, that we will use later. If the procedure name provided is not valid, then the method returns false.+The first step is to access the procedure using the [[v5:reference:connection:preparesp|prepareSp()]] method. This method access the procedure and returns a handle, that we will use later. If the procedure name provided is not valid, then the method returns false.
 <code php> <code php>
 $procedure = $db->prepareSp('PROC_SAMPLE2'); $procedure = $db->prepareSp('PROC_SAMPLE2');
v5/userguide/stored_procedure.txt · Last modified: 2019/01/22 01:11 by mnewnham