MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 87

Dreamweaver api reference
Table of Contents

Advertisement

Example
The code
var columnArray = MMDB.getColumnAndTypeList("EmpDB","Select * from
returns the following array of strings:
Employees")
columnArray[0] = "EmpName"
columnArray[1] = "varchar"
columnArray[2] = "EmpFirstName"
columnArray[3] = "varchar"
columnArray[4] = "Age"
columnArray[5] = "integer"
MMDB.getColumnList()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of columns from an executed SQL
Arguments
connName, statement
The
argument is a connection name that is specified in the Connection
connName
Manager. It identifies the connection string that Dreamweaver should use to make a
database connection to a live data source.
The
argument is the SQL
statement
Returns
An array of strings that represents a list of columns that match the
error if the SQL statement is invalid or the connection cannot be made.
Example
The code
var columnArray = MMDB.getColumnList("EmpDB","Select * from
returns the following array of strings:
Employees")
columnArray[0] = "EmpName"
columnArray[1] = "EmpFirstName"
columnArray[2] = "Age"
MMDB.getColumns()
Availability
Dreamweaver MX, arguments updated in Dreamweaver MX 2004.
SELECT
statement to execute.
SELECT
statement.
statement, or an
SELECT
Database access functions
87

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents