Identity

Description

Whether the database is to supply the value of the column in a newly inserted row. If so, the column is not updatable; the column is excluded from the INSERT statement.

Not all DBMSs support the identity property. For more information see the documentation for your DBMS.

Applies to

Column controls

Syntax

PowerBuilder dot notation:

dw_control.Object.columnname.Identity

Describe and Modify argument:

"columnname.Identity { = ' value ' }"

Parameter

Description

columnname

A string containing the name of the column for which you want to get or set the identity property.

value

A string indicating whether a column's value in a newly inserted row is supplied by the DBMS:

Yes -- The DBMS will supply the value of the column in a newly inserted row; the column is not updatable.

No -- The column is updatable.


Examples

dw1.Object.empid.Identity = "yes"
dw1.Modify("empid.Identity='yes'")