SQL examplesThe following example backs up the
database to the c:/backupdir directory, enables log archive
mode, and does not delete any existing online archived log files:
SYSCS_UTIL.SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE_NOWAIT('c:/backupdir', 0)The following example backs up the database to the c:/backupdir directory
and, if this backup is successful, deletes existing online archived log files:SYSCS_UTIL.SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE_NOWAIT('c:/backupdir', 1)