BBjStoredProcedureData::getDatabaseName

Description

In BBj 6.0 and higher, this method returns the name of the BBj database which called the stored procedure.

Syntax

Return Value

Method

string

getDatabaseName()

Parameters

None.

Return Values

Returns the name of the BBj database that called the stored procedure.

Remarks

None.

Example

rem 'A sample Stored Procedure program

sp! = BBjAPI().getFileSystem().getStoredProcedureData()

rem 'Get the name of the Database
dbName$ = sp!.getDatabaseName()

See Also

BBjAPI

BBjStoredProcedureData

ObjectVariables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.