dbName

Description

The name of the database column. PowerBuilder uses this value to construct the update syntax.

Applies to

Column controls

Syntax

PowerBuilder dot notation:

dw_control.Object.columnname.dbName

Describe and Modify argument:

"columnname.dbName { = ' dbcolumnname ' }"

Parameter

Description

columnname

The name of the column for which you want the name of the corresponding database column

dbcolumnname

The name of the database column associated with columnname

Usage

DbName is the name of the database column in the format tablename.columnname. The value of dbName does not include the quotes that can be part of the SQL syntax.


In the painter

The Syntax view in the SQL Select painter displays the database column names (they can be shown with quotes).

Examples

Example 1

dbcol = dw1.Object.emp_id.dbName

dw1.Object.emp_id.dbName = "emp_id"

Example 2

dbcol = dw1.Describe("emp_id.dbName")

dw1.Modify("emp_id.dbName='emp_id'")

See also

dbAlias