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

Oracle: How do I query a Hierarchical table?

Background This is for the construction of some views we’ll be using for reporting. I have an table of locations, the key fields being “location” and “parent”. The structure that these two fields...

View Article


Does hibernate spatial support st_geometry created by ArcSDE?

We are using ArcSDE 10.0 to export data to the Oracle database, and the spatial property are saved using the SDE.st_geometry format. Now in our J2EE application we tried to manage these data by...

View Article


Oracle 12c Express Enterprise Manager on Centos 6.5 is not reachable

I have Centos 6.5, and installed Oracle 12c. As dbca utility says after configuring new db, EM Express should be available on https://hostname:5500/em In fact, it is not. Neither on localhost nor by...

View Article

What is a DB Link good for?

Here is defined what a DBLink is but I really understand for what kind of situations you need it? What I could imagine is a situation where I have a limited (in size like sql-server express) database...

View Article

Fast restore of dropped partitions

I want to test the restore of errorneously dropped partitions of a subpartitioned tables. This restore would consist of three steps: restore the database (or at least the necessary tablepsaces) to the...

View Article


dbca cant remove database cleanly

when I ran dbca as administrator under windows server 2008R2 is used to delete the database completely ( database folder, control files, datafies, redo logs, then remove all related windows services to...

View Article

Should tables with very large records quantities be split into multiple tables

I’m working on an application (asp.net) that deals with a very high record count — let’s estimate about 75 million events per year coming in fairly evenly throughout the year, and each of these events...

View Article

Reviewing ways to generate monthly tables using PL/SQL automatically

I am attempting to automate a set of tables that my colleagues produce monthly, using PL/SQL. The set of tables contain data about different metrics (e.g. Customer revenue, customer demographic...

View Article


Can we restore backup for standby from external hard drive with differnet...

I am using windows server 2003 and Oracle database 10g R2 and i have taken the backup using RMAN of my primary database in Drive label E. The size of backup is 1.5TB. In my standby database i don’t...

View Article


Not receiving archivelogs from production to remote side

I have a scenario in which we have Designed data guard. Where we have 2 standby sides. One standby is located locally and 2nd standby is located on remote side. The distance between local and remote...

View Article

Rows to columns

I am new to Oracle. I know MySQL. I wrote below query in MySQL: Tables: CREATE TABLE agl_asset ( asset_id BIGINT(20) NOT NULL, caption VARCHAR(64) DEFAULT NULL, description VARCHAR(4000) DEFAULT NULL,...

View Article

How to handle big data update based on excel spreadsheet

Scenario Select-based data is exported from DB to Excel spreadsheets. Some manual work is done on the excel files (filling missing data). Changed data from excel files is updated back to DB....

View Article

Is it possible to configure SQLNet / TNS_ADMIN options *without* sqlnet.ora...

Background: We have an application using OC(C)I via Oracle 11 Instant Client, and we need to set DIAG_SIGHANDLER_ENABLED=FALSE to disable OCI overwriting our own crash handling. However, this is a...

View Article


Oracle: Inserting data using a database link

I am trying to use a SELECT query to populate a table in DB2 using a database link to DB1. I am using Oracle SQL Developer on a Windows 7 VM. I connect to DB2, and run the following query. INSERT INTO...

View Article

Export entire Oracle schema to ASCII and import into DB2

I’m looking for a solution to export a number of schemas from Oracle to ASCII or other flat file format. The data then has to be read by DB2 import. Does anyone know the what oracle export commands...

View Article


I have a problem starting my database, I am using redhat 5.5 and 11gR2 [on hold]

My issue is when I start my database, following error are shown. ORA-03113: end-of-file on communication channel Process ID: 3661 Session ID: 1 Serial number: 5 and there is problem with...

View Article

Different user can not access table

I have sysdba user and with that login I created a number of tables in db. After that I created one more user by login with sysdba. But this second user can not have access of tables that has been...

View Article


Image may be NSFW.
Clik here to view.

Will SQL charset wildcard query work on Oracle database? [closed]

I am trying to run the following query SELECT * FROM GEEKYBRAINS.admin_emp where ename like '[sm]%'; It results in an empty set. The admin_emp table has the following data though. I am running this on...

View Article

SELECT from Function that return CURSOR

I would like to select from a function that return a SYS_REFCURSOR Type value. for example : CREATE OR REPLACE FUNCTION my_funtion ( my_param IN VARCHAR2) RETURN SYS_REFCURSOR IS l_return...

View Article

sqlldr running slow after indexes created

let me explain this…. I had running 1 session of sqlldr while I run indexes into table for 6 fields… now the indexes are completed but the sqlldr running very slow it load one file after each 30...

View Article
Browsing all 717 articles
Browse latest View live