Category "oracle11g"

How to get the main ID of updated row and use it before DML in trigger

I'm blocked with the development of an Oracle trigger (11g). The goal of the trigger is to store some data in an audit trail table. One of the fields that is po

OBIEE Custom format - changing a column data format with varchar datatype

In Oracle BI Admin Tool we can use REPLACE function in a measure to change a column data format(varchar as datatype) and then use it in report. But I need to do

Unique constraint violated message on inserting code below

I am writing this code which throws an error in primary key: DECLARE CURSOR A1 AS SELECT TRANS_DET_ID, (SELECT MAX (NVL(TRANS_DET_DET_ID, 0

Running init script on oracle test container with system privileges

I am struggling with org.testcontainers:oracle-xe:1.14.3. I am trying to run a test intended to verify schema creation and migration, however I'm getting stuck

Obtain an OracleDataSource in SpringBoot 2

Is it possible to retrieve a OracleDataSource from the default SpringBoot 2 Hikari connection pool using a NamedParameterJdbcTemplate object? Using Java 8, Orac

FRM-40501 unable to reserve record to update

I made a table called groups that has these columns client_id, course_name, group_number, day the primary key is (client_id, course_name) so each group num

Pivot data based on category and date field

I have to identify the records with check_in category of S1, T1 and P1 in the check-in-order and pivot the rest of the data until we hit the next category. I wa

How to resolve oracle tnslsnr errors NL-00280, NL-00278, SNL-00016?

Objective: to start lsnrctl Command: lsnrctl start "/u01/app/oracle/product/11.2.0/test/network/admin/listener.ora" Expected: successful start of lsnrctl A

Limit listagg function to first 4000 characters [duplicate]

I have a query that uses the listagg function to get all rows as a comma delimited string to ultimately be shipped to a big text box. I'm gett

Oracle Backup with RMAN take a long time

I have Oracle Database 11g Release 11.2.0.3.0 - 64bit Production With the Real Application Clusters and Automatic Storage Management. OS is Linux Red Hat 2.6.18

How to calculate difference between two dates in oracle 11g SQL

When I am trying to calculate the date difference by using datediff function it showing that invalid identifier. SELECT DATEDIFF(day,'2008-08-05','2008-06-05

How to store password field in oracle 11g database in encrypted form?

I have a table in database with this structure: Username Password Age email Address Phone Number I want to store this table's data manually(not by an input

How to store password field in oracle 11g database in encrypted form?

I have a table in database with this structure: Username Password Age email Address Phone Number I want to store this table's data manually(not by an input

lsnrctl command not found oracle enterprise database 11g ubuntu

i have an issue with the environment variables for oracle 11g enterprise edition on ubuntu. I tried this, but didn't work Add the following lines to /etc/profi

Error while trying to retrieve text for error ORA-01019 in VB6

I'm getting this error on vb6 when trying to connect to an oracle database, debugging puts me in this line, oracon.Open, here's my connection string. Provider=

what does this error mean "column used in NATURAL join cannot have qualifier"

After executing the code below, i get an ORA-25155 error SELECT p.prod_id, prod_name, prod_list_price,quantity_sold,cust_last_name FROM products p NATURAL JOIN

Laravel dosen't connect with Oracle

I'm using yajra/laravel-oci8 for Oracle connection with laravel. But I couldn't connected to Oracle, from my client PC to Server. showing this error: I'm u

ORA 01797- operator must be followed by any or all

I am testing a condition like this in the where clause of a subquery. But I am getting the error "operator must be followed by any or all" when I execute the SS

Oracle appending string to a select statement

I have a column in a oracle table Lic_num char(7 byte) SELECT column1, 'ABC' + Lic_num FROM TABLE One I wanted ABC appended to all the rows that are returned