When I try to execute the "delete noprompt archivelog until time ‘SYSDATE-1’;" command using "OCIStmtExecute" function ,
I am getting an error like
"ORA-00933: SQL command not properly ended"
Is this the correct command to delete ARCHIVE logs?
Whether it is possible to execute RMAN commands using OCI API ? Are there any OCI functions to delete ARCHIVELOGS (log truncation) ?
Oracle OCI API RMAN Commands
354 Views Asked by AishwaryaKasi At
0
There are 0 best solutions below
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in DATABASE-ADMINISTRATION
- Windows Authentication - Restrict SQL Server Backend Access
- who writes a DDL - DBA or the developer using the table
- Selecting ticketid with status history
- Oracle DB: delete all the contents
- How to create a "live" feed for two seperate Postgres Instances?
- grant to multiple db using one command
- what is the correct format of a column for store UTC date time
- how to schedule a job on Oracle SQL developer to execute shell command "Java -Jar /Home/JavaFile.jar" each one minute?
- Any ideas on why this query would run so slow?
- Attempting insertion into the row version column "SSMA_TimeStamp". Cannot insert into a row version column
- MongoDB command `compact` is not working
- Can we do table partition in SQL Server 2012 Standard Edition
- query that shows if the tables might need analyze and vacuum
- How to extractvalue of table counts using xml in DB2? (see working Oracle equivalent)
- Data Export of SQL Server table from one server to another / Data Flow task error
Related Questions in ORACLE-CALL-INTERFACE
- ci_connect(): OCIEnvNlsCreate() failed
- OCI Prefetch not working
- Link errors during Static linking of OCCI/ OCI programs in Oracle 12c
- OCI get only new rows from Oracle by timestamp
- Oracle number precision and scale both zero when case is used in select clause
- Oracle OCI API RMAN Commands
- Install php_oci8_11g at Windows 10 IIS 10
- Reset Apache PATH environment variable in Windows
- PHP / OCI Invalid Character during insert
- How to get Data into XMl Data from Database column to Html page or in Php file
- Retrieving Last Inserted ROWID In PHP/OCI
- PHP 5.4 compilation with PDO-OCI driver using Oracle Instant client 10.2.0.4
- PDO-OCI driver on Zend Server
- Ocilib for Suse 10.3
- How to access two databases?
Related Questions in RMAN
- Oracle OCI API RMAN Commands
- Error while duplicating Oracle database after failover, using 11.2.0.4
- Restoring RMAN backup to another instance: database name in control file is not instance name
- how much time does it take to backup 100gb database with RMAN and expdp?
- Oracle Backup and recovery
- Jenkins job stuck running a .bat file trough on a remote ssh server(windows 2008 R2)
- Oracle RMAN can I configure retention policy per database?
- RMAN - Extra Item Created in Backup
- save rman backup log files to networked location
- How to recover with RMAN at a given point in time?
- How to completely restore Oracle DB using RMAN
- Two Oracle RMAN Backup between an EOB
- Script Python connects and runs queries RMAN (ORACLE) commands
- Oracle: changing the DB_RECOVERY_FILE_DEST without pre-existing folder?
- Running RMAN Scripts with the job scheduler (Oracle)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?