Questions tagged [oracle]

Oracle Database is a Multi-Model Database Management System created by Oracle Corporation. Do NOT use this tag for other products owned by Oracle, such as Java and MySQL.

oracle
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

AWS DMS: the RDS is not seen for engine Oracle (same AZ, same VPC)

Have a Oracle RDS (19 Standard, CDB) and I'm creating a Data Provider for engine=Oracle, but I can't see the DB to select it. It just says "You don't have any RDS databases in Europe (Frankfurt).&...
mariusi's user avatar
  • 31
0 votes
1 answer
10 views

removing delimiters for nulls in concataned string oracle

I have table like below. I would like to concat the columns as all_cells like ABC27_0.5,XYZ22_0.7,DDD_0.99 for first grid and FFF33_0.7 for second grid . How can I achieve that I got millions of ...
charmander's user avatar
0 votes
0 answers
9 views

Getting an error while training a model with association rule in OCI OML

I am using OCI's machine learning feature to use association rule model for my data. I have below settings. setting = {'ASSO_MIN_SUPPORT':'0.04', 'ASSO_MIN_CONFIDENCE':'0.1', 'ASSO_MAX_RULE_LENGTH': '...
Radheya's user avatar
0 votes
1 answer
14 views

Pivot the Table in Oracle

I am trying to crack a Oracle query to pivot the date column to Years. **Source:: ** ID FY CAL_DATE Holiday Desc P001 FY23 01/01/2023 New Years Day P001 FY24 01/01/2024 New Years Day Expected ...
prtk's user avatar
  • 1
0 votes
1 answer
30 views

Get the distinct names an account has prior the last day in TERADATA or Oracle without using stored procedures, just queries

I need to calculate the distinct names an account had, where I have the date of each update the account had: Date ACCOUNT NAME 2024-01-01 A XOXO 2024-01-02 A XOXO 2024-01-02 A OXXO 2024-01-04 A ...
BlckCntry's user avatar
-1 votes
0 answers
22 views

Oracle/SQL Server Licensing on Docker Containers [closed]

I’m utilizing Docker on an AWS EC2 instance (Linux) and aiming to deploy containers for both Oracle Server and SQL Server. I’ve obtained licenses for both services and have prepared a Docker Compose ...
mangelcs's user avatar
-2 votes
0 answers
11 views

Find the screen in front end Oracel eBS

I have a table in the database ad i need to modify/update the table for a business requirement. I am not able to find that table in the front end .it is a lookup/valueset? The table is used in an ...
sagar pinnamaneni's user avatar
0 votes
3 answers
68 views

How to avoid LIKE in oracle SQL statement

I have following table ID Company 1. 892,8392,489,923 2. 232,9238,9283 3. 682,7292 I am able to get the results using following SQL statetment SELECT * FROM company_details WHERE company LIKE '...
Madhu's user avatar
  • 1
0 votes
0 answers
7 views

How to get around Oracle driver error when setting up a jdbc source application for Spring Cloud Dataflow?

I'm trying to use Spring Cloud Dataflow to set up an ETL pipeline with Oracle as the source, a custom application as the processor/transformer, and MySQL as the sink. Oracle is also used as the ...
Eugene M's user avatar
  • 1,307
0 votes
1 answer
20 views

Databricks connection to Oracle Cloud: Listener refused the connection with the following error

I'm getting really frustrated with this error as "Listener refused the connection with the following error:". I don't really know which caused this error, I don't even have the full error ...
Minh Trit D's user avatar
1 vote
2 answers
45 views

Cumulative totals in Oracle SQL

I have the following table CP ROK DOPIS_C ----------------------- 6059150790 2014 C 6059150790 2015 C 6059150790 2016 C 6059150790 2017 6059150790 2018 C 6059150790 ...
feoftheda's user avatar
-4 votes
0 answers
34 views

How to convert Oracle SQL function into db2

Below is the syntax for oracle db, I want a same function in ibm db2. Oracle to db2 syntax CREATE OR REPLACE FUNCTION inpmain ( \ str1 Varchar2 , \ str1 Varchar2 , \ )\ return Varchar2 AS ...
Pratiksha Gupta's user avatar
0 votes
1 answer
43 views

How can I pass a variable from CSV file to Oracle SQL query fetch in Python?

I have the following piece of code where I read a csv file and connect to the database. then I want to pass two columns from CSV file as variable to my query and eventually convert the result to a pd ...
arsham vosoughinia's user avatar
0 votes
2 answers
29 views

Split string using REGEXP_SUBSTR in Oracle SQL gone wrong

Hello i have 3 strings that i want to split and they are all separated with delimiter string_1 contains names of fields for example: ID, DUE_DATE string_2 contains values of fields for example: 80781,...
Panos_Koro's user avatar
0 votes
0 answers
20 views

Trying to connect oracle db to the django application using wallet.zip file

I'm configuring my Oracle database to the django application using wallet.zip file in the following way. Note: This wallet.zip file contains tnsnames.ora file. In settings.py file: DATABASES = { ...
HARISH SOMSOLE's user avatar
0 votes
1 answer
27 views

gps lati and long with/without dot

i am new here and i try to find help. I have a big database with 80000 gps records. BUT ther are 10000 with dot (50.1234) and 70000 without the dot in the latitude and longtitude, like this 501234. I ...
Steffen's user avatar
0 votes
0 answers
16 views

Oracle Apex invoking external REST api [duplicate]

I've installed Apex 23.2 on Oracle DB 19c and ORDS. Both ORDS and DB are running on two different servers. When attempting to set up REST Data Sources for calling an external API from the Apex ...
Damo's user avatar
  • 41
0 votes
1 answer
28 views

Hibernate with Oracle and database-links

For a monitoring solution, I need to connect to a oracle database, that has multiple database links. For simplifiaction I call them master and nodes. In Oracle, you can define a database-link within a ...
snx's user avatar
  • 61
-1 votes
0 answers
18 views

How to search data realtime [closed]

I am creating a chart to track the number of people changing in real time, but I encounter a problem: when users search for data, it takes about 10 minutes to complete and display on the chart. I don'...
Hieu1508's user avatar
0 votes
1 answer
45 views

Filter duplicates using unknown columns

public async Task<dynamic> GetDuplicants(params string[] selectedColumns) { var parameter = Expression.Parameter(typeof(Applicant), "x"); var properties = selectedColumns....
klaus mkl's user avatar
2 votes
2 answers
50 views

How to handle day light saving time change in Oracle?

I have a table used by several users in different places around the world and where a user may store the start date & time of a project. Let's say we are in March 2024 in Frankfurt, Germany. The ...
Thomas Carlton's user avatar
1 vote
0 answers
21 views

Modify session nls value for a query

I use spring boot with spring data jpa. In my properties file i have spring.datasource.hikari.connection-init-sql I search a way to modify this value temporaray for one jpa query then i call from a ...
robert trudel's user avatar
0 votes
1 answer
42 views

Assigning the result to the oldest record from the given time window for a specific client

I have two tables, t1 and t2, with the same column layout: client_id, transaction_date, price, product. The first table contains main products and the second table contains additional products. I ...
Artur's user avatar
  • 3
0 votes
1 answer
43 views

Oracle VERY slow when trying to create a table or a materialized view from 2 existing views

I have a classic Oracle view called STAFFACTIVE which contains around 9500 rows of 10 small native datatype fields (numbers & varchar2(100) only). This view is built over 2 tables coming from a ...
b126's user avatar
  • 1,128
0 votes
0 answers
43 views

SQL query to compare column values from two tables and find mismatches

I have below query which I am using to compare some column values between two tables. The issue is I am getting many duplicate rows of mismatch values where against a particular column value. In my ...
nilesh chopadkar's user avatar
0 votes
2 answers
42 views

Find purchases in continuous days

I'm trying to use march_recognize to find customers who made purchases for 10 or more consecutive days. Based in my sample data I was expecting that customer 1 would appear in my output but it doesn't....
Pugzly's user avatar
  • 870
0 votes
0 answers
13 views

oracle/jdbc/driver/OracleDriver (class file version 54.0), This version of the Java Runtime only recognizes class file versions up to 52.0 [duplicate]

lately, I have been trying to connect my Data bricks with the Oracle Cloud through using the wallet connection, here are several things I have tried: Downgrading from ojdbc11 to ojdbc8, as I saw on ...
Minh Trit D's user avatar
0 votes
0 answers
29 views

Flink SQL JDBC to Oracle BLOB column

The source is MySQL, there is a BLOB field, and the sink is Oracle and the field type is BLOB. When using the upsert method, the BLOB field cannot be inserted. The error is ORA-01461: Only the LONG ...
user24391984's user avatar
0 votes
0 answers
20 views

Can I get the resource name of an aliased data source?

Since the actual name of the flat file diverged from the purpose, I gave the data store an easy-to-understand name and the actual file name as the resource name. Is it possible to get the resource ...
ume05rw's user avatar
  • 11
4 votes
4 answers
88 views

How do I delete a columns from a large Oracle database?

There is a table in Oracle of huge size ~200GB and deleting a column in it via ALTER TABLE table DROP COLUMN column will take more than 15 hours. What are the ways to speed this up, or at least, if it ...
ulxanxv's user avatar
  • 143
-1 votes
1 answer
27 views

Create apache spark connection to Oracle DB with JDBC

I am trying to create a connection to my company's Oracle test server with Apache spark and scala. Below is the statement I run in the spark-shell. I am using JDK 8 and have installed the appropriate ...
user8675309's user avatar
0 votes
1 answer
24 views

Want to know a way to send email when the Standard concurrent program completes, give warning or error out

I'm seeking a solution for integrating email notifications into a standard concurrent program(Auto Invoice Master program) in Oracle E-Business Suite. Specifically, I want receive an email upon ...
Nayan Semwal's user avatar
1 vote
2 answers
41 views

Oracle SUBSTR results in longer column?

It seems that SUBSTR can result in a longer column? What's going on here? CREATE TABLE t ( long_field VARCHAR2(1024) ); SELECT column_name, data_length FROM all_tab_cols WHERE ...
Tianxiang Xiong's user avatar
-1 votes
0 answers
46 views

Filter in a table according to a tree

I have the following tree configured, for example: +--------+--------+--------+ | LEVEL 1| LEVEL 2| LEVEL 3| +--------+--------+--------+ | ORG_1 | | | | | TYPE1 | | | ...
Edisson Gabriel López's user avatar
1 vote
1 answer
20 views

Finding the “Use Unique Temporary Objects Name” option in the ODI Repository

I would be interested to know how to find (on the ODI Metadata Repository) all Mappings that have this flag enabled on their Physical Design: “Use Unique Temporary Object Names” Does anyone know ...
Nicolò Vitelli's user avatar
0 votes
0 answers
24 views

ORDS connection pool vs ORACLE APEX Static files

forgive me as I am a kind of learning APEX architecture. We have ORDS with Gateway user and APEX setup. When we are using only one connection pool (APEX_PUBLIC_USER)by default, APEX app can be ...
TKY's user avatar
  • 1
-1 votes
0 answers
16 views

Bad SQL grammar when executing SQL query from Oracle JDBC framework from SpringBoot 3 microservice in ETE env. Works fine in Local

I am running into a weird issue when I am executing the SELECT query from Spring Boot 3.1.6 Oracle database JDBC library it is giving below exception in higher environment i.e. (TEST env). However, ...
AK2412's user avatar
  • 1
0 votes
0 answers
18 views

SQLAlchemy: Failover with oracledb and firewall restrictions

I'm using sqlalchemy to connect to a oracle express database via oracledb. I want to provide a failover mechanism by using a dsn entry in the following way (host2 should be used if host1 is not ...
user6475988's user avatar
0 votes
0 answers
28 views

Why vert.x jdbc-client version 4.3.0 not compatible with oracle indexes?

I switched from vert.x 3.9.1 to vert.x 4.3.0 and I get this lines in my log. I should said that everything works but I think new version of jdbc-client ignore CTX Indexes of oracle. log from server : ...
Amir's user avatar
  • 73
0 votes
1 answer
33 views

Converting Columns into Hierarchical Rows

I am trying to convert 4 columns into rows but in hierarchical structure. Col1 Col2 Col3 Col4 YP HEVEA YP HEVEA OTHER CREDITORS L1220001 - OTHER CREDITORS YP HEVEA ...
Muhammad Asim's user avatar
0 votes
1 answer
24 views

how to transpose table in Oracle SQL [duplicate]

I want to transpose the following table in Oracle SQL: FROM: firstname lastname Date Hans Meier 1970.01.01 Hans Meier 1970.01.02 Hans Meier 1970.01.03 Klaus Schmitt 1971.01.01 Klaus Schmitt 1971....
Mario's user avatar
  • 1
0 votes
2 answers
51 views

Calculate average open days of tickets grouped per / over month(s)

I have the following (simplified) table (Oracle DB): id created_at solved_at 1 2023-10-15 2023-10-29 2 2023-10-20 3 2023-11-01 2023-12-02 4 2023-11-15 2023-11-20 5 2023-12-03 2024-01-10 6 2024-...
mcode's user avatar
  • 534
0 votes
1 answer
40 views

Robot Framework Database Library calling Oracle store procedure fails with character to number conversion error

I have an Oracle PL/SQL procedure that I can directly call as follows without problem: BEGIN example_package_name.example_procedure(p_item_no => 123456, p_send_now => true); END; (Note: ...
BernardV's user avatar
  • 756
0 votes
1 answer
42 views

String concatenation too long error in Oracle

I have two columns A and B. A is like a sequence(1,2,3,4) and B(b1,b2,b3,b4) is data related to each sequence. I have one more column lets say Z for each Z column(zxxxxxx) . Data present in this ...
prashant chhetri's user avatar
0 votes
1 answer
47 views

creating hierarchy from rows

the table 'accounts' has values as below: CREATE TABLE as accounts ( le_parent varchar2(100), legal_entity varchar2(100), trans_account_parent varchar2(100) , trans_account varchar2(100), ...
Aisha Khan's user avatar
0 votes
0 answers
17 views

How to use IndexedDb in Oracle Apex [closed]

How to store some table info into IndexedDB storage by using Oracle Apex.Are there any better options to store some info on client side other than that ,i need to store few tables into browser storage ...
Pavle Vasiljevic's user avatar
1 vote
1 answer
46 views

Oracle 21 autonomous database, OCI free tier, no privileges to disable FLASHBACK on a table

Issue: How to disable flashback on a table, in Oracle free tier autonomous database 21c? Seems to be a lack of privilege problem, there is no ability to raise a support ticket in the OCI free tier. ...
Rax's user avatar
  • 744
0 votes
2 answers
58 views

Oracle SQL Problem - needed to return spesific rows from a table

I'm working with a campaign management system called Unica that performs SQL queries behind the scenes. In my job, I have a contacthistory table, which holds the contacts for each customer who turns ...
TomerLevin's user avatar
0 votes
0 answers
13 views

Issues with SCAN hostname not resolving in Oracle RAC [closed]

I had setup a two node RAC using Virtual box. The RAC database installation had no issues. I'm able to connect to the database on the server and everything looks good. However, when I try to connect ...
Jachin S's user avatar
0 votes
0 answers
20 views

How do Oracle SQLT and SPM compare to PostgreSQL's Performance Tools for SQL Query Optimization? [closed]

I am exploring SQL query performance optimization tools and techniques in Oracle and PostgreSQL databases. Oracle has tools like SQLT (SQLTXPLAIN) and SPM (SQL Plan Management), which are very robust ...
Rahul Gupta's user avatar

1
2 3 4 5
3032