Category "oracle"

Also display the model of computer allocated to the employee and the manager, how to do thi

Display id, name, manager id and manager name of those employees who are allocated a computer and whose manager is also allocated a computer. Also display the m

When user returns to previous canvas

I’m new to Oracle Form 12c. I’m trying to get the cursor to return back to the location it was when the user returns to that canvas from another can

Error is -database link of same name has an open connection Error

del_db='drop database link my_db_link' cur.execute(del_db) This is a simple query to drop the link database which is executed in SQL developer but it getting

ORA-12842: Cursor invalidated during parallel execution error during alter table move subpartition

Had a task to compress some large tables to reduce storage costs by using Oracle's Advanced Compression. Here is the statement : execute immediate 'ALTER TABLE

Add clear button in Date Picker for Oracle Apex

Is it possible to add clear button in date picker? I have this item that is read only to avoid wrong format when inputting. So, I'm thinking of a solution to ad

Stored procedure with select count(*) and use count in IF statement

I am creating a stored procedure in Oracle database that's resulting in error "ORA-01858: a non-numeric character was found where a numeric was expected". My pr

Sprint boot database polling or listen database updates

I have 2 Spring Boot applications let's say named App1 and App2. There is a table in oracle DB with status column. when App1 runs a scheduler, it will update t

SSIS Execute SQL Task continue execution after completion of Oracle stored procedure

I have an Oracle stored procedure I am trying to execute in SSIS Execute SQL Task. This stored procedure involves refreshing materialized views. For each and ev

Case condition not working for ORA-01476: divisor is equal to zero

I have a logic where doing some calculation like below is giving error as ORA-01476: divisor is equal to zero I have added CASE condition like below V_EFFEC_P

While loop PL/SQL read a string backwards [duplicate]

i need help with this question, Using PL/SQL how can I read a string backwards using the while loop? I know that with the for loop there is a

Can not do 'DB Action' on my Oracle Autonomous DB

I created my first Autonomous database "Always Free" on OCI. The provisioning have gone well and the db exists in my compartment. However, when I click on "DB A

How to Abort long running query in weblogic struct java application

I have a query some times I get timeout exception and query runs on the backend for ever not displaying any information and causes application to hang up how ca

Oracle sqlplus Chinese characters garbled

I run a simple query with oracle database 11g on CentOS, but I got wrong CHARACTER SET. SQL> select col_name from table_name where rownum <= 1; col_name

print refcursor from function

I'm using oracle 11 XE & Application Express 4.0.2.00.09 and I have this function that I want to print it's cursor. I don't know how to read the return of t

Apex - Not able to exclude column in exported file

I have an interactive report and the goal is to let the user export the data but without 1 column. What I tried for the column in question: 1) Server-side condi

while creating trigger upon inert getting error on end

CREATE OR REPLACE TRIGGER PEN_DELTA BEFORE INSERT ON PS_GP_RSLT_DELTA FOR EACH ROW WHEN (NEW.FORWARD_IND = 'Y' AND NEW.GP_PAYGROUP = 'PG PEN') BEGIN FOR

How to convert varchar2 input parameter to timestamp in stored procedure

We are using a proprietary product to develop our application. This product is capable of connecting to Oracle DB and executes SQL queries and stored procedures

How can I learn the credentials for the Connection String in optionsBuilder.UseOracle(@"User Id=<>;Password=<>;Data Source=<>")?

I want to connect from my codebase which is console C# project to an Oracle database. I am using Entity Framework Core 6.0: using Microsoft.EntityFrameworkC

why does it keep giving me errors?

SQL table: CREATE TABLE Application ( App_ID number(5), Child_Name varchar2(15) CONSTRAINT pk_Application_App_ID PRIMARY KEY, Child_Weigh

SQL query based on another table

I have tables like this: table 1: FNAME ID1 FID BREAD XYZ 18BREAD FISH ABC 45FISH BREAD_OLD BNQ 18BREAD_OLD BACON TBG 77BACON EGGS CGS 99EGGS BANANA BHG BANANA