Questions tagged [oracle12c]

Oracle is an RDBMS product. Specific releases of the product are known as Oracle9i, Oracle10g, Oracle 11g and Oracle 12c. Generally there are two releases within each major version. Questions tagged **oracle12c** are assumed to be specific to this version or features introduced in this version.

Filter by
Sorted by
Tagged with
1 vote
0 answers
48 views

Oracle xQuery merge two xml matching nodes

I have Oracle12 and two XML and want to merge them into one preferably using xQuery. If 2nd XML have new nodes then they must be added. In addition, if possible, if the node matches then change its ...
Ayb's user avatar
  • 21
0 votes
2 answers
40 views

Oracle 12c impdp ORA-12154: TNS:could not resolve the connect identifier specified

I'm new with Oracle and I'm just trying to import a dump file. I'm able to create my container database, however when I go to run impdp gy/gy@mygy file=C:\app\impdir\EL1.DMP I am getting ORA-12154. ...
user1257758's user avatar
-1 votes
0 answers
19 views

Migration of SSRS & Database from On-Prem to Oracle Cloud

My company has on-premises databases. I get data from those tables and I have made SSRS reports which uses that data. Now they want to move that database to cloud (Oracle Cloud). I want the SSRS ...
Michael Benning's user avatar
0 votes
0 answers
22 views

Get new password from OraOLEDB Password Change Dialog

My C# client app using Oracle12c. Password change dialog is opening when calling, objOleDbConnection.Open(); Because the Password Expired(user must change next login) option was enabled when creating ...
Dosti's user avatar
  • 163
1 vote
1 answer
36 views

Fetch/Update the amount value from previous record based on date

I have this table named Pricing. Below is the ddl. CREATE TABLE PRICING (ITEM VARCHAR2(80) NOT NULL, LOCATION NUMBER(10) NOT NULL, ...
cai tools's user avatar
0 votes
1 answer
42 views

Oracle SQL - search for entries inside the same month but with different start/end dates [duplicate]

I want to query for all entries in the table 'unique_delivery_locations' where 'transaction_identifier' is the same, and we are within the same month. The only difference should be in '...
Skywalker's user avatar
-1 votes
0 answers
38 views

I get ora-03114 oracle not connected before i get ora-28001-the-password-has-expired with Logon function Oracle Forms 12c

I try to change a expired password with Logon function in Oracle Forms 12c. I get ora-03114 oracle not connected before i get ora-28001-the-password-has-expired. Normally i should get only ora-28001 ...
Mc-Romeo E's user avatar
0 votes
1 answer
27 views

hierarchical table connect left element with right

I have a problem with creating Hierarchical table, I have the following data With data(left_code, left_category, right_code, right_category) as ( SELECT '21BEMVXP040150FIS4', 'A', '...
prokopis's user avatar
  • 119
0 votes
0 answers
42 views

Materialized view with REFRESH ON COMMIT is not working in ORACLE 19

I am trying to create materialized views and materialized view log but the materialized views are not getting refreshed even after the use of REFRESH ON COMMIT in ORACLE 19. The same code for the ...
Rita's user avatar
  • 1
0 votes
1 answer
26 views

How do I create data (not a temp table) using a loop and Oracle 12c?

I'm using a PaaS (Asset Works) to create a report that needs looping. I have a bus table and need to create a spreadsheet that lists the bus replacements. Some buses need to be replaced every 10 ...
Bruce Como's user avatar
0 votes
0 answers
38 views

Error: ODI-10244 Can not Import SNP_PROFMATH View

I install ODI 12c (12.2.1.3.0) and I get the following error while creating the Master repo. oracle.odi.setup.RepositorySetupException: com.sunopsis.core.SnpsForeignKeyReferencedObjectMissingException:...
sumewe's user avatar
  • 1
0 votes
0 answers
27 views

How to store/query an XML file in Oracle 12.2

Im trying to figure out the best was to parse an external XML file in Oracle. We have a number of XML files titled "XMLFileToImport_YYYYMMDD01234" with the following format. <Employee> ...
XmalevolentX's user avatar
0 votes
1 answer
49 views

sqlplus 19c varchar2 formatting different fromk 12c

We are updating our database from 12c to 19c and ovviously the Oracle client. We do have some jobs which are reporting from sqlplus. We noticed that the varchar2 fields are formatted differently in ...
StefanG's user avatar
  • 329
0 votes
0 answers
8 views

Oracle Form Hanging Issue

Form got hanged after Forms_ddl('commit') code, and i am closing the whole application and opening again for the operation. How we can resolve this issue. This issue is happening occasionally. There ...
Dhilip kumar's user avatar
0 votes
1 answer
30 views

Update current row of Date Column based on the Previous row of different Date column

Please help to achieve this in Oracle SQL. I have table structure like below , create table temp_t ( rule_id number, start_datetime timestamp, end_datetime timestamp, last_update ...
user1402648's user avatar
0 votes
0 answers
23 views

How To dispose db connection before Gunicorn worker processes spawns in Python

While executing query in Python on oracle database with cx_oracle=8.3.0, with sqlalchemy=1.4.0 and instantclient=21.11 I am getting multiple "ORA-03106: fatal two-task communication protocol ...
jamila's user avatar
  • 47
0 votes
0 answers
45 views

Unable to find listener.ora in oracle 12c

There is a default oracle 12c installation done in RHEL 7.5. This is a single instance database. When i issue lsnrctl status command i am able to see below output. LSNRCTL for Linux: Version 12.2.0.1....
Shangeetha's user avatar
0 votes
1 answer
62 views

Unable to connect to database oracle sql 12c

Yesterday i discovered that i have a problem with oracle sql database 12c running on windows 10 pro for workstations. When i try to connect to a local database with the sql developer tool i received ...
willycat's user avatar
0 votes
0 answers
32 views

Import data from old Jira version with HSQL DB to higher Jira version Oracle 12c

I am a beginner and in my company currently using Jira version 7.11.0 configured with oracle 12.1.0.1 database, Windows and it have some new data with it. My task to import the old data from ...
monsoon winds's user avatar
0 votes
0 answers
47 views

Error no ifopmnwrp in java library path when deploying oracle forms 12.2.1.4 in Oracle Linux 8

When trying to deploy the forms application version 12.2.1.4, I receive this error, does anyone know what is causing it? The nodeManager if deployed correctly, as well as the weblogic administration ...
Jesus Fernández's user avatar
0 votes
0 answers
48 views

Export 1.4 billion rows from single oracle table

I have a table with about 2.3 billion rows where I need to export about 1.4 billion of these rows to CSV. Info: I have the max pk to retreive. PK is indexed. What would be the best way of doing this?...
Exibel's user avatar
  • 111
1 vote
1 answer
32 views

Filters on Correlated Subquery returns null oracle

I have the below query which combines the child table records as comma separated strings. But when i try applying filters to the correlated subquery, values be replaced as null instead of removing the ...
coder12349's user avatar
0 votes
0 answers
42 views

Can't access Oracle Apex loging page

Im installing oracle apex 18.2 in my 12c database. I've completed the instalation, changed admin password, ran apex_epg_config and unlocked the accounts. Im also running apex in the port 8080, but ...
Mateo R's user avatar
  • 48
1 vote
2 answers
46 views

Convert child table rows as comma seperated values in Oracle

I have a requirement where i wanted the child table rows to be shown as comma seperated string instead of multiple rows. Parent Table : Employee Id Name I1BF91860BCB711EDBF4EF0FBCBCA9E17 Tim ...
coder12349's user avatar
1 vote
0 answers
27 views

Oracle query to determine data sources (external and internal) for Tables and MViews in a schema?

So lets say I provide my customers a schema in Oracle on which they can access data {as views based on my table and its data (which is in another schema)} and also they use third party sources/...
Dante's user avatar
  • 11
0 votes
0 answers
106 views

.net/vb/Oracle OCI driver 12c (and 19c) - OracleCommandBuilder.DeriveParameters (wongly) returns 0 parameters for stored procedure

Reproducer VB.net Windows Forms app using .Net Framework 4.6.1 and Oracle OCI Drivers 19 (plus a DSN entry of course) Imports System.Data.OracleClient Private Sub btnFakeStoredProcedure(sender As ...
clemens utschig's user avatar
0 votes
2 answers
92 views

convert timestamp column to milliseconds in oracle sql

I want to convert the timestamp column in Oracle DB to milliseconds. The timestamp column values are converted to Canada/Mountain timezone and added as Timestamp value and since it is already in ...
Adarsh A's user avatar
0 votes
0 answers
59 views

how to export images into xlsx file from oracle database

I need an help to export images from an Oracle table into xlsx file while calling a procedure, I'm able to export strings,date and numbers but I could not find a way to export images into xlsx file ...
Sha's user avatar
  • 11
0 votes
0 answers
31 views

Simple query works fine in Oracle 12C but not Oracle 19C

The following query works fine in our 12C environment but not in our 19C environment. The 19C returns results but they are ambiguous and include only a subset of the expected results. See output ...
David Plume's user avatar
0 votes
1 answer
67 views

What kind of indexes should be created on a volumnious table used in a join in sql query?

For the following query. ITEM_CTY_TAR_T is a volumnious table with 10 million+ rows. I have created primary index on this table with columns ITEM_NO, ITEM_TYPE, GA_CODE_IMP, GA_TYPE_IMP, TAR_NO and ...
radha's user avatar
  • 163
1 vote
0 answers
477 views

Restore the source database changes using RMAN Incremental backup in Oracle 19C where Target Database also changes

Need to upgrade the Oracle database from 12C to 19C in different Servers using RMAN backup and restore method. DB Size is approx. 10TB and increasing on a daily basis. Below would be the steps: ...
Sangi Dan Paliwal's user avatar
0 votes
1 answer
122 views

ORACLE JSON_TABLE NESTED PATH from Array with Condition

Running Oracle 12c R2... We're parsing out some JSON data. Here is a pared-down example of the JSON... { "GTIN14": "00842768005244", "GUDIDDescription": "...
eidylon's user avatar
  • 7,138
0 votes
1 answer
60 views

How to Delimit the Large comma separated string - Oracle Procedure

I am working in Oracle 12C and passing comma separated list from my C# program to Oracle procedure and wanted to delimit the string and wanted to pass use this in dynamic sql. i am using CLOB in ...
user2631832's user avatar
0 votes
2 answers
122 views

Process raw data in PL/SQL without creating table

Experts, I've to process the raw data received in the email. This is one time request so I'm trying to figure easy and effective way to handle it without creating tables. The raw data has 3 columns ...
AJORA's user avatar
  • 27
1 vote
1 answer
29 views

Jdbc loses parameter while calling Oracle stored procedure

I have following jdbcCall: SimpleJdbcCall simpleJdbcCall = simpleJdbcCallFactory.create() .withProcedureName("MY_PROCEDURE") .withReturnValue() ...
Arli  Chokoev's user avatar
1 vote
1 answer
17 views

Which characterset do i use for North American Phonetic in Oracle 12c and SQL Server 2016

I have a requirement where DB Oracle 12c and SQL 2016 should accept using the North American Phonetic (NAPA) characters like šxʷməθkʷəy̓əmasəm and hən̓q̓əmin̓əm̓ which characterset would be ideal one ...
Suwaid Akbar's user avatar
0 votes
2 answers
25 views

Print zero for blank/empty result in oarcle sql query

I want to display 0 when query returns no records . I tried with nvl but its not working . please advise . create table temp (id number , cat varchar2(10)); insert into temp values (100,'EUR'); ...
kashi's user avatar
  • 61
0 votes
1 answer
104 views

How to find Bottleneck from Oracle Explain Plan

Any Oracle SQL tuning Expert can help me to understand the below explain plan to spot the bottleneck . Thanks in advance. This query is responding instantly , still i am looking for potential changes ...
user1402648's user avatar
0 votes
1 answer
91 views

query to calculate total temp size in Oracle that works for all versions

i am trying to frame a sql query which would on a database and return the total temp size( container temp size + pluggable temp size). The below query runs fine when the Oracle Database has a ...
Roshni Rabi's user avatar
0 votes
1 answer
29 views

Oracle SQL - Sum numbers if value is duplicated in concatinated string

I have a SELECT statement which stores values as a concatinated string: I need such a query, because for each table1.id only one line should exist, although it is possible, that it available in table2 ...
BiSaM's user avatar
  • 293
0 votes
1 answer
79 views

Different ACCOUNT_STATUS for a Same User in Two Different Tables (Oracle DB)

I’m studying for management of Oracle Database (Oracle 12C) nowadays, and got a question while viewing two tables in the database I viewed. There was a conflict on account_status of an account. The ...
ZhenZhuMin's user avatar
0 votes
1 answer
46 views

sql query to project the future volume based on historical data in oracle

I have written a query to split the count into multiple rows. This is just a sample data so I have split into 2 rows as mentioned in the OUTPUT. Now the requirement is get the count of 7 days prior to ...
kashi's user avatar
  • 61
0 votes
3 answers
56 views

How to replace comma with pipe for LISTAGG

I have a LISTAGG created with a REGEXP_REPLACE. Now I want to replace the comma with pipe. Query: SELECT ID, REGEXP_REPLACE(LISTAGG (user_name, ',') WITHIN GROUP (ORDER BY user_name ), '([^,]+)(,\1)(,|...
BiSaM's user avatar
  • 293
0 votes
2 answers
51 views

How to change comma to pipe and remove duplicates and trim last delimiter in LISTAGG [duplicate]

I have a query which result is: (EDIT: 13.06.2023 12:30) |ID|USER_NAME | |--|--------------------| |1 |A1,A1,A1,B12,B12,C32| |2 |A1 | |3 |B12,C32 | Query for ...
BiSaM's user avatar
  • 293
0 votes
0 answers
9 views

To find a views or functions [duplicate]

I only knows a table name like 'CE_BANK_ACCOUNTS'. Now how do I find is that table are used in any views or functions. Is there any easy SQL query to find it? please help me to find a views or ...
Shahariar Asif's user avatar
1 vote
1 answer
39 views

How to set parent-child relation in a hierarchy tree form

I have a ORACLE table data where data represents parent-child relation. But in my table there has no such relation. So how can I set parent-child relation in my table where no relation exists. My ...
Sadman ZIhan's user avatar
1 vote
2 answers
40 views

SQL to fetch the count between tow date range

I require to fetch the count of PRODUCT_ID between 00:15:00 and 01:15:00 and subsequentially for any date range. Example Scripts:- My DB structure and data is as follows. CREATE TABLE time1 (cr_date ...
user1402648's user avatar
0 votes
1 answer
42 views

Filter table to unique IDs without subquery

I've got a table that looks something like this: User ID (sorhsch_pidm) High school (sorhsch_sbgi_code) Surrogate ID (sorhsch_surrogate_id) 123 blah HS 1 123 blah2 HS 2 234 blah HS 3 345 blah4 HS ...
Jakob Lovern's user avatar
  • 1,301
0 votes
0 answers
48 views

Using UTL_SMTP to send a large preformatted RFC822 email

EDIT IN CASE IT HELPS SOMEBODY Here is my new code, just the changed bits... c := utl_smtp.open_connection(p_mail_host, 25); -- SMTP on port 25 utl_smtp.helo(c, p_mail_host); utl_smtp.mail(c, p_from); ...
Barry Brierley's user avatar
0 votes
1 answer
118 views

ORACLE 12C Grant update on a specific column not working

I'm working with Oracle 12c sqlplus. I want to grant update on just **name ** column for a role like below but I still change value in other column. This is my code: SQL> grant select,update(name) ...
w_m02's user avatar
  • 1

1
2 3 4 5
80