PHP ODBC code samples
These examples use the PDO ODBC extension. Before attempting to run them, follow the instructions contained in our PHP tutorial.
Example | Description |
---|---|
Stored procedure (I) | Call a stored procedure, which returns a result set. |
Stored procedure (II) | Call a stored procedure, which searches for and returns a record. |
Stored procedure (III) | Call a stored procedure, which inserts records. |
Stored procedure (IV) | Call a stored procedure, which updates records. |
Stored procedure (V) | Call a stored procedure, which deletes records. |
Stored procedure (VI) | Call a stored procedure, which returns an output parameter. |
Stored procedure (VII) | Call a stored procedure, which returns a value. |
Stored procedure (VIII) | Call a stored procedure, which generates multiple rowsets. |
Prepared statement | Find and count the number of records in a table that match the supplied criteria. |