Stproc object (Object/NES)

An object that encapsulates a call to a stored procedure on a database from a Netscape Enterprise Server.

Availability:

JavaScript - 1.2
Netscape Enterprise server - 3.0
JavaScript syntax:NESmyStproc = database.storedProc(aProcName, aProcParm);
NESmyStproc = myConnection.storedProc(aProcName, aProcParm)
Argument list:aProcNameThe name of a stored procedure to call
aProcParmA parameter value to pass to the stored procedure
Object properties:prototype
Object methods:close(), outParamCount(), outParameters(), resultSet(), returnValue()

This object provides a container to manage the call to the stored procedure and somewhere that the results can be made available for further processing by your scripts.

You create Stproc objects by requesting them from the database or connection objects that are accessing the target database you are interested in.

Example code:

   <SERVER>
   // An example derived from Wrox Professional JavaScript
   database.connect("ODBC", "myDatabase", "me", "myPassword", "");
   myStproc = database.storedProc("myProcedure", 40);
   </SERVER>

See also:Connection.storedProc(), Netscape Enterprise Server

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
prototype1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-

MethodJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
close()1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-
outParamCount()1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-
outParameters()1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-
resultSet()1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-
returnValue()1.2 1.2 n/a n/a n/a n/a3.0 3.0 n/a n/a n/a n/a-