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

Oracle database and data has been corrupted. Is there a way to get it back?...

The Oracle database has been corrupted and both the data and backups were lost in the corruption. Is there anything I can do to recover my data? It would be terrible if it were all lost.

View Article


Oracle Spatial support QGIS 1.9-0-Master (Ubuntu)

I just installed QGIS 1.9.0-Master (Build 480) on a Ubuntu virtual machine. I am running/compiled against GDAL/OGR 1.9.2. My question is why I cannot add Oracle Spatial Layers as I am able to do using...

View Article


Control files error

I use Oracle 11g R2 and when I try to start my database from sqlplus, I get this error: ORA-00205: error in identifying control file, check alert log for more info The alert log file has this:...

View Article

sql query – table@string meaning

I am trying to understand a query . When I run the below query , no rows are fetched. select * from Table But when I run the query , a result is returned having multiple rows. select * from...

View Article

Getting “BadImageFormatException” when attempting to connect through Visual...

I get the following message: “Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components...

View Article


Exporting 30 million rows to CSV

I have a query that hits multiple tables in an Oracle database (11g). I don’t have access to the server itself. I use SQL Developer or SQL*Plus to connect. There are about 31 million rows, and 7...

View Article

How make convincing case to DBA to use Oracle external tables for 500 MB to 5...

In our data feeds, we have a stack of XML files as well as numerous flat files to put into an Oracle11g database. We flatten the XML into delimited files, and load the whole set using SQLLoader. I want...

View Article

What's the most appropriate NLS_SORT parameter to cover all/most European...

I’m developing an Oracle 11g-based application which is likely to be used by clients in many different countries (mostly European). I want the program to change its NLS_SORT so that it’s case...

View Article


rman 'delete archivelog all’ very slow

On our automated test system we use flashback all the time to reset our Oracle 11g database to a state before a testrun. We noticed some of the scripts involved started to become slower and slower. In...

View Article


How to find Oracle home information on Unix?

Need help finding Oracle home path corresponding to a database instance in RAC environment. I am aware of few of the ways to achieve the same. Listing them below to avoid the same answers. /etc/oratab...

View Article

Image may be NSFW.
Clik here to view.

Find Underlying Data Type (int – integer) of Oracle Table instead of number

I can create an example table using following syntax. CREATE TABLE "TABLE2" ( "COLUMN_INT" INT NOT NULL, "COLUMN_INTEGER" INTEGER NOT NULL, "COLUMN_SMALLINT" SMALLINT NOT NULL, "COLUMN_NUMBER" NUMBER...

View Article

User with dba privs can't login to APEX, but can from SQL*Plus

I’m using Oracle 11gR2 XE. A user with dba privileges can’t log in to the APEX interface, but can from the command line with sqlplus. I just created user: CREATE ROLE administrators; GRANT dba TO...

View Article

How to count number of rows inside Oracle dump file?

I have a huge (38Gb after bzip2) Oracle EXP dump file. It contains one table. Such big dumps usually end up with an error, but in fact contain the full table. Earlier I was importing these tables back...

View Article


My view in Oracle when displayed in ArcMap/ArcCatalog values are being...

I created a view in an Oracle Database in order to match formatting of a new database/table I am going to be migrating the data to. The problem is when I look at my view in Oracle I see the correct...

View Article

What is the meaning of “select * from relational(owner.table)”?

We recently got some errors in our alert log of the form 301598: Tue Jul 16 03:58:29 2013 301599: ORA-01555 caused by SQL statement below 301600: SELECT * FROM RELATIONAL(<owner>.<table>) I...

View Article


Oracle shared memory exception ORA-04031

I’m trying to establish an Oracle database connection. It throws the following exception: ORA-04031: unable to allocate 4048 bytes of shared memory ("shared pool","unknown object","sga...

View Article

Renaming or making filenames unique

I have written a plsql procedure using utl file to create files in the temp directory in Unix. I am sending the names of the files to a shell script to mail these files and delete after mailing from...

View Article


What are the host credentials for Enterprise Manager 11g?

I am trying to use Database Replay in 11g Release 1 using Enterprise Manager. In the last step it asks for ‘Host Credentials’ to start the capture. But when I give the username and password for the...

View Article

Built-in XML functions

I am trying to use built-in XML functions, but I’m getting an %s: invalid identifier error. Selects works fine without the XML functions. Any ideas where is the mistake? select id,full_name from users...

View Article

User Password Expiry date

Is it possible to find my password expiry date without asking the DBA? My user does not have privileges to view the DBA_USERS table. Also, I tried select * from USER_USERS table, but expiry_date is...

View Article
Browsing all 717 articles
Browse latest View live