Quantcast
Channel: Question and Answer » oracle
Browsing all 717 articles
Browse latest View live

How to resolve parameter file error

I log on to my database but giving me this error message ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file...

View Article


ORA-00911: invalid character error in insert statement

I created a table called TROUBLE in Oracle Database 10g Express Edition by this command create table TROUBLE ( City VARCHAR2(13) NOT NULL, SampleDate DATE NOT NULL, Noon NUMBER(3,1), Midnight...

View Article


Oracle Audit: Why Logons are less than 0.1% of logoffs?

I see the following quantities of logins versus logoffs vs logoffs by cleanup in a database: SQL> select action_name, count(*) qty from Dba_audit_session group by action_name order by 1; 2 3 4...

View Article

Can I do update,insert multiple row like this?

I have a base table and a history table. The history table contains 5 extra columns: surrogate key insert_date end_date old_address flag In the history table I want to record data changes of the base...

View Article

Export pump all schemas except Sytem related schemas

I have around 111 schemas in one database instance and have to export all the schemas except the system related schemas to a new instance. Is there any way as to exclude system related schemas while...

View Article


Unable to access OEM 11g grid control after upgrading to Firefox ver 39.0

Previously, I have encountered the similar issue after upgrading Firefox to version 37.0.1. Here’s the link of the question posted: Unable to access OEM 11g after upgrading to Firefox ver 37.0.1 I...

View Article

Oracle Application Express Listener PDF Report

We need our reports to be available in PDF format on our Oracle 11g, APEX:4.2.6 Followed this tutorial and selected “Oracle APEX Listener”. But the generated PDF report is empty. We are using EPG. Do...

View Article

Forgot to run END_UPGRADE during a Timezone File Upgrade (ORA-56924)

I ran the following to upgrade my timezone file from 4 to 14. The issue was after running the upgrade I forgot to run DBMS_DST.END_UPGRADE and put the DB back up and enabled incoming connections. exec...

View Article


Identifying high load sql

We had an oracle outage some days ago. We have inbetween awr tools. I genarated awrrpt report but dont see anything suspicious. Which report should I generate to see sql, which caused very high cpu load?

View Article


Reading audit records in Oracle

As a DBA, what is the best way to read the audit records on daily basis? Say, i’m the administrator and I would like to view the audit records made by the DBAs. I have enabled audit sys operatiosn to...

View Article

How to insert all the dates in a date range into Oracle database?

For instance, The date range is from 26th Jul to 1st Aug, that is 26th Jul, 27th Jul, 28th Jul, 29th Jul, 30th Jul, 31th Jul and 1st Aug How can I construct a function (of course, I need to implement...

View Article

Oracle and execution plans

I have used the following procedure to view the last execution plan create or replace procedure display_plan as begin for c in (select plan_table_output t from table(dbms_xplan.display_cursor('', '',...

View Article

query to concatenate columns if record duplicate

My table has two column that is id and name. I want to do concatenate the columns if the if more than two names are same like: id name 1 John 2 David 3 Zed 4 John 5 David 6 John 7 David 8 John 9 John...

View Article


is there a workaround for CVE-2015-2625?

we are not able to upgrade jdk 6 to jdk1.8u51 where this issue (CVE-2015-2625) is fixed. is there a workaround one can have until we migrate to jdk1.8?

View Article

How to make an union on 2 joined tables without affecting the sum on the...

I have the following tables: cant: id CANT_VAL COD_VAL fk_id_chest c1 c2 18059 18.56 R12 1 100 11 18060 11 R10 2 200 22 18061 15 R11 3 300 33 col: FK_ID_COL_DMA CANT_VAL COD_VAL 18059 1134 R10 18059...

View Article


How can I group two joined tables

How can I group (by) two joined tables (in an Oracle database) like this: cant: id CANT_VAL COD_VAL fk_id_chest 18059 18.56 R12 1 18060 11 R10 2 18061 15 R11 3 col: FK_ID_COL_DMA CANT_VAL COD_VAL 18059...

View Article

Updating row of one table using rows of another table based on specific...

I want to update OFFICE_ID,OFFICE_TYPE of FA_SUBLEDGER_MST table, by using OFFICE_ID,OFFICE_TYPE from EMPLOYEE_MST table based on following conditions: EMPLOYEE_MST.SL_CODE = FA_SUBLEDGER_MST.SL_CODE...

View Article


Amazon RDS: Replacing file based workflows in Oracle RDS

Oracle RDS has limitations to how it supports different file workflows External tables are apparently not supported It is, to my knowledge not possible to mount a disk and use UTL_FILE to read/write to...

View Article

Archive Logs filling up Flash Recovery Area (FRA) space

I got hired to fill a position of DBA that I wasn’t quite ready to fill, and while the training is getting me there, I am running close to a potential issue. My oracle 11g database’s Flash Recovery...

View Article

Oracle jobs not running

I have created a new oracle instance and imported a schema consisting of schedular jobs in it. The import was successfull but the jobs are not running automatically. I can run the job manually by exec...

View Article
Browsing all 717 articles
Browse latest View live