MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 89

Dreamweaver api reference
Table of Contents

Advertisement

MMDB.getColumnsOfTable()
Availability
Dreamweaver UltraDev 1.
Description
This function gets a list of all the columns in the specified table.
Arguments
connName, tableName
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 name of a table in the database that is specified by the
tableName
argument.
connName
Returns
An array of strings where each string is the name of a column in the table.
Example
The statement
MMDB.getColumnsOfTable ("EmpDB","Employees");
following strings:
["EmpID", "FirstName", "LastName"]
MMDB.getPrimaryKeys()
Availability
Dreamweaver MX.
Description
This function returns the column names that combine to form the primary key of the named
table. A primary key serves as the unique identifier for a database row and consists of at least
one column.
Arguments
connName, tableName
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.
returns the
Database access functions
89

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents