Category "oracle"

How to find time duration of ride given its starting time and ending time by using sql query

The start_on column in RIDE table is starting date and time for each ride and ends_on column is ending date and time of ride. i have to fetch the ride whose tr

Storing a list of codes into a variable in Oracle SQL [duplicate]

There's a way to store a set of codes into a variable in Oracle SQL? I have these codes and I'll need to use them in different parts of my que

ORA-00936: missing expression - SQL pivot

Getting the above error in the IN statement. Can you anyone help? ORA-00936: missing expression 00936. 00000 - "missing expression" *Cause: *Action: Error

Sharing an Oracle table among Spark Nodes using Python

I have an huge Oracle table to process, so I define a list of where clauses to read by each Spark node. In the middle of the processing I need to join the data

How Can I Retrieve CLOBs for Unique Records in Group By

I have a table with one CLOB field (s.File) and I need to create a join on this table to get related data. However, in Oracle, CLOBs are not allowed in group by

How to install Perl DBD::Oracle with Oracle Instant Client on macOS Catalina

I'm running macOS Catalina 10.15.7 and I need to install Oracle Instant Client to run run a Perl script that connects to a DB. 1. Installing Oracle Instant Clie

A way to update multiple records together?

I am trying to see if there is a way to improve the way data is inserted and updated. I am using ORACLE DB with JDBC. The current way i'm doing is to update (e.

Using LIKE with index over GUID columns in Oracle

I'm building system, in which I decided to use GUIDs as primary keys in many tables. I took this decision in order to be able to develop tool for integration te

Can i replace an existing normal table with a materialized view

I've searched but found no answer, so i resort to you. I have an Oracle table, say "Countries" that exists for ages in database 2 (target). Now, we want to sync

Oracle PLSQL extend type with date abs timestamp

I have the following code, which seems to be working. Is there a way I can add a date, timestamp to the type definition? If so, how would reference the columns

Copy cell from Interactive Grid Oracle Apex

I'm trying to copy a specific cell from an Interactive Grid (which is in Display Only mode, if that matters), and instead of copying the cell I'm in, I'm copyin

JMS with Oracle AQ. How to change delay of JMS Message when it's already in the queue?

If is it possible change delay of JMS Message when it's already in the queue? When I send message via JMS, I set jmsMessage.setIntProperty("JMS_OracleDelay", 12

Passing quarkus.hibernate-orm.proc.param_null_passing" - dont work : Call Stored Procedure

Thanks a lot for the opportunity.. I will try to pass 2 parameters in my Quarkus rest code, using Hibernate call stored Procedure at oracle database. Unfortunat

Subquery function invoked twice if alias is used in main SQL

I'm trying to understand how Oracle processes SQL's to study ways of optimizing complex SQL's. Consider the test function below: CREATE OR REPLACE FUNCTION FCN_

simplify sql query Oracle database

Task: Write a query that returns a list of houses from the TB_ELEKTROSTAL_2018 table. It is considered that all subscribers who have the same address belong to

Oracle, Parse JSON with > 4000K

I am trying to parse some JSON like this: SELECT cid, c_message FROM JSON_TABLE('{"cid":"30152","c_message":"....very long message...."}' FORMAT JSON,'$[*]'

Extracting date and time from oracle

I have a table in which there is a field last_update_date in which the date is displayed in short form like 25/02/2015.If I want to extract the date in long dat

Show/Hide Post Text Item Oracle APEX

I have a Post Text Item at the end of my text fields. When I click on it, it shows a PopUp, that retrieves a key to insert in one of my tables. It is possible

From keyword not found where expected error in oracle

Select firstname as name, time as asof, salary as bal into temp employee from people.person p where p.id =1; Need to create a temporary table employee by inser

Why Vert.x blocks event loop thread when using Oracle Reactive Client

I try to user Vert.x Reactive Oracle Client version 4.2.6 to avoid blocking threads in event loop. I decided to test a really long query: GlobalScope.launch(ver