Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
7 replies
44 views

Due to a BUG, an application that persists data in an Oracle 19c database is updating a incorrect value in a specific row of a table. This incorrect value prevents users from accessing that table ...
Danilof's user avatar
-3 votes
0 answers
80 views

I am trying to migrate from Oracle 19c to SQL Server 2019, however I need a comparison report for the migration of scripts so that I can see the changes and maybe modify in my SQL Server schema also. ...
Sandy's user avatar
  • 1
-3 votes
1 answer
58 views

budling Oracle database function to move data between two schema that may has differences in structure as below and I trying to handling and log exception in log error table so function keep going ...
sam's user avatar
  • 2,620
2 votes
1 answer
93 views

Why am I getting a ORA-00904: invalid identifier error? How can I select the value of a sys.anydata column? CREATE TABLE temp ( id NUMBER PRIMARY KEY, val sys.anydata ); INSERT INTO temp (ID, val)...
Elie G.'s user avatar
  • 1,784
0 votes
0 answers
38 views

I have a JOBS table in Oracle 19c and a method that fetches jobs from the table, sets their status as RUNNING, and then releases the lock by committing the transaction. Basically, I have something ...
Niyazi Ekinci's user avatar
0 votes
1 answer
119 views

We have configured Hikari with a maximum of 24 connections. However, in our Oracle DB we are observing more than 100 active connections per pod. Our setup is Spring Boot with Kafka (Confluent) using a ...
Prasobh.Kollattu's user avatar
0 votes
1 answer
76 views

I'm using Oracle 19c. I'm trying to develop scripts to generate scripts to copy table data from one environment to another (Dev -> Test -> PPRD -> Prod). Is there a way when using SET ...
Big Ian's user avatar
  • 183
2 votes
3 answers
94 views

URL like this https://test.com/test?username=john&x1=1234&x2=5677 I want to remove params if any of them looks like param=. So for example: https://test.com/test?username=&x1=1234&x2=...
q4za4's user avatar
  • 702
1 vote
4 answers
151 views

I have a table with 1 line by stay in a room with arrival date and departure date, like this: INPUT_TABLE: STAY_ID;CUSTOMER_NAME;ROOM_NO;STAY_START_DATE;STAY_END_DATE 00031;ROGER;08;20180316;20180324 ...
Syl33's user avatar
  • 119
0 votes
0 answers
94 views

I'm using Tibco Business Work Container Edition. For design purposes, I need to connect to an Oracle database, specifically Oracle 19 Client, which uses a wallet for security. After editing the sqlnet....
Benni.'s user avatar
  • 1
0 votes
0 answers
41 views

We found a strange behaviour of Oracle full text search when using contains(text, 'NEAR((A,B,C,D), 2, true)') where 2 is the max_span parameter. The documentation says: max_span Optionally specify ...
Claude's user avatar
  • 1,804
0 votes
3 answers
91 views

In my data (Table 1) I have IDs and a list of codes that are stored as one large string Example: ID CD_LIST 1 A;B;C;D 2 A;E;F;G 3 X;Z;W;F;H 4 C;D;E 5 P;Q;R;S;T;U In another table (Table 2) I have a ...
Gingerhaze's user avatar
2 votes
1 answer
77 views

Summary I need to create a function based spatial index on Oracle 19c. The table contains no data, when the index should be created. This fails with ORA-13199. MRE My code is: -- create table create ...
DaniEll's user avatar
  • 1,070
0 votes
1 answer
52 views

I have a procedure run_rest. Executing this procedure in sqlplus works perferctly - i get response from external system. But executing this in plsql developer throws 400: Bad request. Does someone has ...
q4za4's user avatar
  • 702
0 votes
0 answers
475 views

I'm migrating an old Oracle send_mail procedure to use authenticated SMTP with STARTTLS over port 587, in Oracle Database 19c (version 19.0.0). ✅ My Goal: Send emails using UTL_SMTP through an SMTP ...
rami-sf's user avatar
  • 441
1 vote
0 answers
49 views

Issue with gg.handlerlist in Oracle GoldenGate: Replicat does not ABEND on all handler failures Context A GoldenGate Replicat process was tested with two handlers configured in sequence: gg....
Gabrielenones's user avatar
0 votes
1 answer
180 views

Table #1: buck number(10), sname varchar(20), ... total of 20 columns Table #2: sname varchar(20), sdiv varchar(10), ... total of 15 columns Table1 has 30M rows Table2 has 10M rows I want to ...
Dark3963's user avatar
0 votes
1 answer
54 views

@Select(""" SELECT CURRENCY_CD,COUNTRY_CD,FEE_RATE_VAL FROM FEE WHERE (COUNTRY_CD, CURRENCY_CD) IN <foreach item="currencyCd" ...
Pat's user avatar
  • 649
0 votes
0 answers
66 views

Running Oracle 19c with Java 1.8.0_451 and JavaMail 1.6.7. I'm attempting to send emails via SendGrid from a stored procedure on the database referring the the following Java class: CREATE OR REPLACE ...
Nathan Russell's user avatar
-1 votes
1 answer
129 views

I want to insert many values in oracle database (I working with oracle 19c) and I found that there is a query is INSERT ALL but I try to insert multiple lines. but I found that at the end of this ...
Abdellah karani's user avatar
1 vote
2 answers
70 views

I have a structure composed of an INVOICE table, with basic data; ITEMS with the invoice goods; and PAYMENTS with the invoice payments. ITEMS and PAYMENTS are not linked to each other, but both are ...
marciel.deg's user avatar
2 votes
2 answers
289 views

I'm currently trying to create an external table for a Parquet file in a S3 bucket. This works: begin dbms_cloud.create_external_table( table_name =>'test_parquet' ,credential_name =>'&...
Frank Schmitt's user avatar
1 vote
0 answers
61 views

I encountered strange behavior of Oracle object types: create or replace type test_type force as table of varchar2(1 char); select * from table(test_type('abcdefghi')); This query returns 'abcd'. ...
Grigory Frolov's user avatar
1 vote
1 answer
29 views

Employee Class Long id: String Name; I have list of Employee object and i need to get the details from Employee table filtered with both id and name. I tried something like this <resultMap type=&...
Pat's user avatar
  • 649
1 vote
2 answers
169 views

i want to insert the data from 7 views (defintely multiple views, less or more, depends...) into one table with DBMS_PARALLEL_EXECUTE, table structure and view structures are the same. i am quite new ...
Moribundus's user avatar
0 votes
2 answers
65 views

I am using conditional where as shown below to make query more dynamic when there are no condition are meet but I am getting below error while when I omit the (SELECT CP.COLUMN1 FROM TABLE2 CP WHERE ...
sam's user avatar
  • 2,620
0 votes
0 answers
57 views

We have 110 million records in Database. There were 11 tables in which we have added a new column. To populate the values in the column, we are using FK to identify the data from event table. Now, ...
AJ23's user avatar
  • 31
3 votes
0 answers
103 views

This question is not about the error, but about compiling the PACKAGE BODY after if the specification is fixed. Using a query to generate the package source: SELECT 'CREATE OR REPLACE PACKAGE test_me ...
Peter Lang's user avatar
  • 55.7k
0 votes
2 answers
70 views

I am working with multiple projects, one using Oracle 11g and the other with Oracle 19c. Both of them have multiple databases which I need to share data between them. Any procedure or function need to ...
sam's user avatar
  • 2,620
0 votes
1 answer
99 views

in the calendar I see both 30th and 31st of Dec in years 2025 and 2026 fall in the same week but using the to_char function to create year-week field I will get different weeks select to_char(...
Pato's user avatar
  • 333
2 votes
2 answers
118 views

I have couple of order for each partno. sometime they cover each other sometime there could be one order pro partno at a time. each order has a rate and could be 0 to 100. valid output is when at any ...
Pato's user avatar
  • 333
3 votes
1 answer
114 views

At the application level, we enforce "ALTER SESSION DISABLE COMMIT IN PROCEDURE" to restrict commits/rollbacks inside procedures, but this also blocks Pragma Autonomous Transactions as well. ...
Movindu Thulmith's user avatar
1 vote
0 answers
72 views

I would like to record API calls using an autonomous transaction so that it cannot be rolled back. There is a call made once a day that has a huge return value. When I try to record that, I get a &...
developer981's user avatar
0 votes
1 answer
27 views

I need to do a summation of a result based on account and transaction date. I have the following result: ACCOUNT_ID TRANSACTION_DATE AMOUNT 581 05-SEP-23 309.32 581 ...
Bob's user avatar
  • 85
0 votes
2 answers
64 views

Need help on getting the updated count while using the FORALL Steps to replicate Create table: create table TEST_UPDATE (name_id number(9), name_name varchar2(40)); Insert data insert into ...
Pratiksha's user avatar
1 vote
2 answers
59 views

How to call a stored procedure from SQL*Plus with blob input parameters? Below a sample of the SP to be called: procedure p_dummy_proc (sessionId varchar2, accountId integer, lobData blob, oId out ...
Alessandro Cucina's user avatar
1 vote
1 answer
47 views

I have a rest call in PL/SQL that create a record in the database and that returns a response with the whole record back. This works fine. But now I want to return a warning message when a certain ...
nightfox79's user avatar
  • 2,139
0 votes
0 answers
32 views

I have a @MappedEntity object in Micronaut that connects to an ADB-S 19c instance of Oracle Transaction Processing. Searching the internet suggests using the CLOB data type in Oracle for larger JSON ...
Wesley's user avatar
  • 5,630
0 votes
0 answers
39 views

From the DBA_AUDIT_TRAIL table we found that some process is running every second, connecting to DB and does some transactions. What i see in DBA_AUDIT_TRAIL table, ACTION_NAME column as "LOGON ...
Pat's user avatar
  • 649
0 votes
0 answers
47 views

I am trying to attach a pdf file to an invoice. The pdf comes to me as a base64 value that I store in a table as a clob. I then try to convert the base64 clob to a blob. DECLARE l_base64_clob CLOB; ...
Acroyear's user avatar
  • 1,461
0 votes
3 answers
94 views

I have an SQL query where I want to compare the data in a column with another line from the same column. So I included a LEAD function into my query. However, when I run this query for the condition ...
Praveen S's user avatar
0 votes
1 answer
86 views

Inserting the rows from source_table to the target_table using stored proc and the inserting query, insert into target_table (column_1, column_2) select (column_1, column_2) from source_table log ...
Jagadesh's user avatar
  • 2,116
0 votes
3 answers
70 views

I have an xxmf_json_feed table with the following JSON clob in the json_data column: { "P_INVOICE_MASTER_TBL_ITEM": [ { "P_INVOICE_NUM": "INV20250224-1", ...
Acroyear's user avatar
  • 1,461
0 votes
1 answer
36 views

I am trying to create a generic script which can replicate the oracle source table structure along with data to target db. I am using the below copy command but it is somehow changing the table ...
NishantM's user avatar
  • 171
1 vote
1 answer
107 views

I’m encountering an issue when using the JSON_OBJECT function inside a PL/SQL block. Below is an example of a PL/SQL procedure that triggers an unexpected error: create table JSON_TABLE ( ID ...
Kamil Raszkowski's user avatar
0 votes
2 answers
90 views

I know that altering an index does not invalidate the objects depending on the table. Dropping an index invalidates objects, but what about creating an index on a table ?
Thomas Carlton's user avatar
0 votes
1 answer
89 views

I'm working with an Oracle PL/SQL stored procedure that processes JSON input and extracts data using JSON_TABLE. However, I'm encountering an issue where a specific JSON field (PRODUCTS) always ...
S.kh's user avatar
  • 108
0 votes
2 answers
84 views

I am attempting to write a query that transforms the following table, where Accrual Length is the number of months between and inclusive of each Activation Date and Accrual End Date. Institution ...
jshaub's user avatar
  • 7
0 votes
0 answers
83 views

TOOLS: I'm using Pro*C under Oracle 19c and the pc files have been parsed using parse=partial code=c++ char_map=string as command line options. Take the following example, with some fictional main ...
ABu's user avatar
  • 12.5k
-1 votes
1 answer
94 views

We recently migrated the data from SAP HANA to Oracle. The database is Oracle 19c. I need to know the corresponding Oracle 19c command for the below query. The below query is utilizing STRING_AGG. ...
Luke's user avatar
  • 67

1
2 3 4 5
23