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

Oracle 11g r2: Cannot create partition on timestamp field

I have data with a timestamp field of the form ’2014-01-01 00:00:00.99′ in one of the columns. I want to create a new partition for the table every month. For this I did something like this. CREATE...

View Article


How to compare between two values in one field depending on another field in...

I have three fields in a table named table_family. One is “relation” it has 3 kinds of values 1 for person, 2 for parents, 3 for son. Other field is “age” and it contains the ages of all the relations...

View Article


Transferring full database to another machine oracle 10.2 xe

We are having oracle 10.2 xe working on windows xp sp3(32bit). We need cloning/copying full database to windows server2008r2 machine(64bit). Any help.

View Article

Oracle Golden Gate error 00146

I am deploying Oracle Golden Gate to sync data from Sql Server 2008 to Sql Server 2008. One of the extract process have stopped.This is the error: 2014-12-21 17:22:09 ERROR OGG-00146 Call to VAMRead...

View Article

Image may be NSFW.
Clik here to view.

ORA-01410 Error

I am getting ORA-01410 and ORA-06512 for the following block of code in a trigger im firing for deletion of a record in my table. Are the calls correct ? getlong ('xxx', 'YYY', :OLD.ROWID), getlong...

View Article


How to debug ORA-42016 with DBMS_REDEFINITION?

I am writing a number of scripts to transform some tables using DBMS_REDEFINITION. Is there an easy way to debug the “ORA-42016: shape of interim table does not match specified column mapping” error? I...

View Article

can't execute opatch even I'm in the oinstall group with -rwx–x—

I’m in $ORACLE_HOME/OPatch directory and i type opatch then it response: -bash: opatch: command not found if i do ./opatch then it response: /bin/sh: ./opatch: Permission denied opatch ls -l shows...

View Article

ORA-00937 when calculating a sub-value in an aggregate select statement

The problem described below applies to Oracle 11g databases. I also tested the statements on MySQL and PostgreSQL with no problems of the kind mentioned in this question. I want to use an...

View Article


Summarizing Pay Checks Based on Employee's Job Code

What I’m trying to do is summarize an employee’s earnings for each job code they worked in for the year. Employees are assigned a job code based on an effective date. I’m trying to line up the job code...

View Article


ORA-01033: ORACLE initialization or shutdown in progress using Oracle Express

I am using Oracle Database 11g Express Edition. I’m on Windows 7-64Bit I get this error when trying to access the database: ORA-01033: ORACLE initialization or shutdown in progress I set up the express...

View Article

Connecting to Oracle Database from VBScript – Hiding Credentials

At work our first level support uses a ticket management system that allows us to add extra functionality via VBScripts that the application invokes. First level support also receives quite a few...

View Article

parsing and purpose of oracle audit (.aud) logs

I am looking at the oracle audit logs and am trying to understand and parse. The format appears to be consistent: Date Length: Action: ...etc My questions are: 1) what generates these? Is it every sql...

View Article

Error APP-AR-294094: An Unexpected error has occurred [closed]

![enter image description here][1]This is my environment : Solaris Version 10; Sun OS Version 5.10 Oracle Database Oracle Database Enterprise Edition Version 11g (11.1.0.7.0 ) Release Name 12.1.1 In...

View Article


View permissions on specific Oracle object

I want to be able to see what permissions have been granted on a specific object in my Oracle geodatabase. What would my syntax look like in SQL Plus? Thank you.

View Article

Prevent row from being inserted with a trigger

I’m trying to prevent a row being inserted if a certain condition is met using a trigger. I’m using a user defined exception to do this, however the row is still being inserted, despite the exception...

View Article


Data are not saved to database – Auto creating new datafile in oracle

I have some problem with Oracle database. Before it works like that, if INDX[Counter].dbf file reach its maximum size (8GB) Oracle automatically created new datafile INDX[Counter+1].dbf. But on server...

View Article

How to list objects that are using another object?

I have to move certain objects from a schema to another. The database is rather large and I want to make sure we test properly all affected objects. On TOAD there is a Tab called “Used By” that show...

View Article


Combine fields filter in exposed form not working

I had a view and an exposed search form. All other search filters are all working fine except Combine fields filter (Title + short description) and date range. Error in views preview for Combine fields...

View Article

What are the OMem and 1Mem columns in the plan output?

The plan output, for example SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR( '' ,NULL,'ALLSTATS LAST')); has the columns OMem and 1Mem. What is their meaning? I could not find any reference or...

View Article

Query session parameter values of running session

I don’t think there’s a way to do this, but I’d like to be able to query what value a running session currently has for its COMMIT_WRITE session parameter. I haven’t seen anything in the v$ performance...

View Article
Browsing all 717 articles
Browse latest View live