Progress
Language Reference


DBTASKID Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns an INTEGER that uniquely identifies a database’s transaction.

SYNTAX

DBTASKID ( integer-expression | logical-name | alias ) 

integer-expression

The sequence number of a database the Progress session is connected to. For example, DBTASKID(1) returns information on the first database the Progress session is connected to, DBTASKID(2) returns information on the second database the Progress session is connected to, etc. If you specify a sequence number that does not correspond to a database the Progress session is connected to, the DBTASKID function returns the unknown value (?).

logical-name or alias

A character expression that evaluates to the logical name or alias of a database that is connected to the current Progress session. If the character expression does not evaluate to the logical name or alias of a connected database, DBTASKID returns the unknown value (?).

NOTE: You must enclose all character strings in quotes.

NOTES

SEE ALSO

DBCODEPAGE Function, DBCOLLATION Function, DBTYPE Function, DBVERSION Function, LDBNAME Function


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095