skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getFirstGrantedObject
 

dam_getFirstGrantedObject

This method is used to navigate the granted object list in the GRANT and REVOKE commands of the ipDCL method. The object can be a table, view, or procedure.
int dam_getFirstGrantedObject(
    long         hstmt,
    StringBuffer szQualifier,
    StringBuffer szOwner,
    StringBuffer szName)
Table 175. Parameters for dam_getFirstGrantedObject
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
OUTPUT
szQualifier
StringBuffer
The qualifier of the object.
szOwner
StringBuffer
The owner of the object.
szName
StringBuffer
The name of the object.
RETURN
int
*DAM_SUCCESS - on success
*DAM_FAILURE - on failure
*DAM_NO_DATA_FOUND - on end of list