Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetDefaultSqlTableOwner

Set default SQL table owner.

Declaration

CTDBRET ctdbDECL ctdbSetDefaultSqlTableOwner(CTHANDLE Handle, pTEXT newowner)

Description

This function is used in c-treeDB API Session type of CTSESSION_SQL prior to calling ctdbAddTable() to set the SQL OWNER name the table will receive.

Parameters:

  • Handle - Database handle
  • sqlowner - Default SQL table owner. If sqlowner is NULL no action is taken

Returns

Return CTDBRET_OK on success.

See also

ctdbAddTable

TOCIndex