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

Image may be NSFW.
Clik here to view.

oracle DB connection – hostdef extension doesn't exist

I am trying to connect to an Oracle DB through ERwin, yet I keep getting this error message: I know that the DB exists, as my coworkers are accessing it. The Username and Password are also correct, and...

View Article


How to populate another column with a sequence value generated for an...

I have a table that has a column that is determined by a sequence using the identity column thing, so after a record is inserted (or during, I’m not sure how it works behind the scenes, only that it...

View Article


Is using ASM a pre-requisite for RAC?

I am about to build our first RAC development environment, and as I’m new to RAC and have not used ASM I wanted to keep things as simple as possible. I was under the impression that ASM is a...

View Article

Image may be NSFW.
Clik here to view.

Right way to get references to an object in Oracle?

I want to find all the objects referencing my object. I came up with this query, Is this the best way to get all references to an object? (I know this doesn’t include constraints, I handle that...

View Article

How to get the second string in the ORA-02296 error to show something meaningful

Whenever I run the following script*: ALTER TABLE ANIMAL.MONKEY MODIFY TAIL_COUNT NOT NULL; I receive the following error: ORA-02296: cannot enable (ANIMAL.) – null values found I have a script that...

View Article


Cummulative Sum with Reset Value

Consider the following table: ID | GROUP_ID | ORDER_VAL | RESET_VAL | VAL ---+----------+-----------+-----------+----- 1 | 1 | 1 | (null) | 3 2 | 1 | 2 | (null) | 2 3 | 1 | 3 | (null) | 1 4 | 1 | 4 | 4...

View Article

Why does DBMS_SESSION.session_trace_enable create multiple files?

I have a trace on a session configured like this: execute immediate 'ALTER SESSION SET TRACEFILE_IDENTIFIER = ''TEST1'''; DBMS_SESSION.session_trace_enable (waits => TRUE, binds => TRUE,...

View Article

Image may be NSFW.
Clik here to view.

Oracle 12c database cannot log in as a local user

I met a problem from Oracle 12C Database, when I try to login to the user account with commandconn test/test, I got prompt of “invalid username/password, logon denied”. when I use conn...

View Article


How to set Persian calendar,currency,numbers,date and time and text in oracle...

I have installed oracle database 12c on my laptop. I want to be able to store text,numbers,calendar,currency,… in my local language (Persian) in database tables and also show contents in Persian when...

View Article


Image may be NSFW.
Clik here to view.

What are the reasons behind Oracle password restrictions?

Oracle presents a fairly restrictive password policy: Passwords can be from 1 to 30 characters. The first character in an Oracle password must be a letter. Only letters, numbers, and the symbols “#”,...

View Article

How can we drop a constraint without losing the automatically created index?

How can we drop a constraint without losing the automatically created index? If it’s possible using a single query.

View Article

Image may be NSFW.
Clik here to view.

oracle DB connection – hostdef extension doesn't exist

I am trying to connect to an Oracle DB through ERwin, yet I keep getting this error message: I know that the DB exists, as my coworkers are accessing it. The Username and Password are also correct, and...

View Article

Is Oracle Wallet available for use with Oracle XE 11gR1

Oracle XE 11gR1 RHEL 6.3 Is Oracle Wallet available with Oracle XE for production environments? or any environment? Google search turns up nothing specifically declaring it not being available.

View Article


Delete Old Archivelogs from missing database

We have deleted a database but the archive logs remain. We need to delete these as they take a lot of space: Since the database is deleted, it is not in the rman catalogue so I cannot use delete...

View Article

Oracle: Recursively self referential join with nth level record

I have self referential table like this: id |level | parent_id ---------------------- 1 |1 |null 2 |1 |null 3 |2 |1 4 |2 |1 5 |2 |2 6 |3 |5 7 |3 |3 8 |4 |7 9 |4 |6 ------------------------ I need nth...

View Article


Use column alias in GROUP BY

I have a query where I chain two columns. Why does the alias not work in the GROUP BY clause but in ORDER BY clause, it does work? How can I write the select correctly? SELECT KOS_VER_ID AS "Vertrag" ,...

View Article

Getting error ORA-01034: ORACLE not available [closed]

I am getting this error while connecting my database in oracle sql developer. ORA-01034: ORACLE not available. ORA-27101:Shared memory Linux Error:2:No such file or directoy

View Article


One time data conversion in Oracle tables with excel data

First of all I have very basic knowledge in back end I need to do an one time data conversion in an Oracle table with a excel sheet data. Excel sheet have data in below format OldData NewData 12130...

View Article

Estimating compression ratio for SecureFile LOBs?

We made a migration from Oracle 10 to 11.2. Our lob objects are currently stored in the original LOB storage architecture. But 11g introduced the SecureFile storage architecture and we want to use its...

View Article

Joining Oracle tables with 2 strings to be oa a single row (in a distinct SQL...

I have an Oracle Database and if I fire that SQL: SELECT distinct RAP.ID_PL, SES_RAP.AN, RAP.DENUMIRE, A3T2.COD_DESEU, A3T2.TIP_AMB, A3T2.COD_REC, A3T2.COD_VAL FROM chest cht INNER JOIN raport rap ON...

View Article
Browsing all 717 articles
Browse latest View live