MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Specifications Page 335

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 334
The Database API 335
paramNameArray is an array that contains a list of parameter names. You can use the
MMDB.getSPParamsAsString() function to get the parameters of the stored procedure.
paramValuesArray is an array that contains a list of design-time parameter test values.
Returns
Nothing. This function returns an error if the SQL statement or the connection string is invalid.
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)
Page view 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 691 692

Comments to this Manuals

No comments