Adobe 38040334 - Dreamweaver CS3 User Manual page 72

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Returns
A comma-delimited string that contains the list of parameters that the stored procedure requires. The parameters'
names, direction, and data type are included, separated by semicolons (;).
Example
The code
MMDB.getSPParamsAsString ("EmpDB","getNewEmployeesMakingAtLeast")
form name
startDate;direction:in;datatype:date, salary;direction:in;datatype:integer
In this example, the stored procedure,
. For
, the direction is
Salary
startDate
type is
.
date
MMDB.getTables()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of all the tables that are defined for the specified database. Each table object has three
properties:
,
table
schema
Arguments
connName
• The
argument is a connection name that is specified in the Connection Manager. It identifies the
connName
connection string that Dreamweaver should use to make a database connection to a live data source.
Returns
An array of objects where each object has three properties:
table.
is the name of the schema that contains the table.
Schema
Example
The statement
MMDB.getTables ("EmpDB");
might be similar to the following example:
object1[table:"Employees", schema:"personnel", catalog:"syscat"]
The second object's properties might be similar to the following example:
object2[table:"Departments", schema:"demo", catalog:"syscat2"]
MMDB.getViews()
Availability
Dreamweaver UltraDev 4.
Description
This function gets a list of all the views that are defined for the specified database. Each view object has
, and
properties.
schema
view
Arguments
connName
getNewEmployeesMakingAtLeast
and the data type is
in
, and
.
catalog
might produce an array of two objects. The first object's properties
, has two parameters:
. For
, the direction is
date
salary
,
, and
table
schema
catalog
is the catalog that contains the table.
Catalog
DREAMWEAVER CS3
API Reference
can return a string of
.
and
startDate
and the data
in
.
is the name of the
Table
,
catalog
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents