beautypg.com

Adobe Dreamweaver API Reference CS5 User Manual

Page 83

background image

78

DREAMWEAVER API REFERENCE

The database API

Last updated 8/27/2013

Returns
This function returns an error if the SQL statement or the connection string is invalid; otherwise, it returns nothing.

Example
The following code displays the results of the executed stored procedure:

var paramNameArray = new Array("startDate", "salary")

var paramValueArray = new Array("2/1/2000", "50000")
MMDB.showSPResultsetNamedParams("EmpDB","getNewEmployees¬
MakingAtLeast", paramNameArray, paramValueArray)