152,663 questions
0
votes
1
answer
57
views
SQL unquoted identifier validation [duplicate]
I'm working on a .NET application that needs to execute SQL parameterized by database objects like tables or columns. I would argue that this is a symptom of bad design; nonetheless this design is ...
-2
votes
0
answers
38
views
Query Link between EBS SO through ASCP get the PR and PO [closed]
I need your help with a requirement where we have to identify Sales Orders (SO) that have existing Open Purchase Orders (PO).
In this flow, the SO lines from EBS are interfaced to ASCP, which creates ...
2
votes
1
answer
39
views
PLSQL Merge "WHEN MATCHED" with "AND"
Does Oracle support merge WHEN MATCHED with AND condition ? I am trying to write a query like below and getting error ORA-00905 : missing keyword
MERGE INTO TEST T
USING ( SELECT 1 AS COL1
...
-6
votes
2
answers
74
views
What is the etymology of Oracle's TWO_TASK environment variable? [closed]
I recall having to set the TWO_TASK environment variable when connecting to an Oracle database. What's the origin and/or meaning of the "TWO" and/or "TASK"? Is TWO an acronym?
0
votes
0
answers
46
views
How can I view the actual INSERT/SELECT SQL used by OWB/ODI-generated packages (e.g., LOAD_MST_GPA, LOAD_MST_GENRL_STDNT_STEP_2) in Oracle?
I’m working with an Oracle ODS environment where many tables (e.g., MST_GENERAL_STUDENT, MST_GPA) are populated through auto-generated packages created by Oracle Warehouse Builder (OWB) / ODI.
INSERT ...
3
votes
2
answers
94
views
Mark rows within comments
I have a table like this:
name
line
text
aaa
1
some text
aaa
2
/* some text */
aaa
3
some text
aaa
4
/*
aaa
5
some text
aaa
6
some text
aaa
7
*/
aaa
8
some text
aaa
9
/*
aaa
10
* some text
aaa
11
* ...
0
votes
1
answer
30
views
error when access oracle server (with docker) from host sqlplus
[Q] How to fix ORA-29024: Certificate validation failure when connecting from host to Oracle in Docker?
my docker image: container-registry.oracle.com/database/adb-free:latest-23ai
ubuntu 24.04.1, ...
0
votes
0
answers
30
views
Getting (java.sql.SQLRecoverableException: IO Error: Socket read interrupted, Authentication lapse 0 ms.) when using Kafka sink with Apache Flink
I am currently running a small application that periodically polls data from my DB and then puts it in a Kafka topic. While running the application code independently, when I comment my Kafka sink, ...
-3
votes
1
answer
105
views
Get sum of sales data for each quarter incrementally [duplicate]
I have some data in a table stored at a quarter level. I need sum of the sales data for at quarterly level that also includes the sales data for all earlier quarters.
Sample data:
S_No
Car
Variant
...
0
votes
1
answer
34
views
Capture Oracle metadata via Debezium connector
I'm sourcing Oracle data into Kafka topics using Debezium Oracle connector.
I have a source Oracle table, as below:
CREATE TABLE MYDATA.MY_USER
(
USER_ID RAW(16) DEFAULT SYS_GUID() NOT ...
1
vote
2
answers
91
views
Comments on Indexes in Oracle SQL Dialect
I know that in Oracle SQL we can add comments on tables.
But is it possible to add comments on indexes as well?
If yes, how can it be done?
-- What I tried:
I attempted something like:
COMMENT ON ...
1
vote
0
answers
37
views
An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'
I am able to connect to OracleDB from Power BI desktop. after publishing the dashboard and having the on premises gateway setup, it was working fine. I installed on premises gateway on another system ...
0
votes
1
answer
76
views
How do I find the relationship in Oracle SQL [closed]
I need to find the parent child relationship in a table and then join in another table to get details of the relationship. This is the query I designed but it's not giving the answer I'm looking for. ...
0
votes
0
answers
44
views
Spring Boot + JdbcTemplate: Large Oracle CLOB streaming breaks connection with ORA-17002 / SQLSTATE 08006
I’m trying to stream a large query result from Oracle using Spring Boot and JdbcTemplate, but the connection breaks when processing big rows containing concatenated strings and CLOBs.
The query works ...
2
votes
2
answers
124
views
I am getting an 'ORA-01846: not a valid day of the week' error when replacing SYSDATE with LAST_START_DATE in the parameter to TO_DATE
I'm trying to get a valid set of next dates for the repeat interval in a PLSQL SCHEDULE_TYPE job in Oracle DBA_SCHEDULER_JOBS. I can replace the SYSDATE with the LAST_START_DATE, but I can't get that ...