Category "oracle"

Updating foreign keys from data table to keys from new table? Without dozens of queries?

I am migrating some data. I have a table data which has quite a lot of columns to reference other tables. And those other tables are being changed and simplifie

Kerberos error when connecting to Oracle database in .NET Core

I have an application created using .NET Core 3.1 which needs to connect to an Oracle database, the connection code is very straightforward and I'm connecting u

Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server

I am trying to query data from linked server. It is giving me the following error: TNS:listener does not currently know of service requested in connect descrip

arrays in pl sql | varray | associative

I'm planning to write a pl sql pseudo code procedure a gets all records from emp and is passed to procedure b procedure b getting called inside from a , is tra

Oracle APEX_WEB_SERVICE MAKE_REST REQUEST raise ORA-29273 and ORA-24247

I'm working on Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production and I need to develop a store procedure that access an API, I have t

I'm trying to join 2 tables that don't have same columns and using case select. Is this possible?

select case when code = number_1 then number_1=code when count(code)>=count(number_1) then number_1 = sum(code)

Oracle db - remove ,, from email address

I'm running below code and getting below results but I want to remove ,, and after ,, texts from email address and that email address should show in UPPER(PT_PA

ORA-12546: TNS:permission denied error connection to remote oracle server

I have two web application and Oracle servers. Web application server has the following details: Linux server (LAMP) oci8 PHP 7.4 Oracle Database server has the

Is there a way to make a "natural join" with a table having a foreign key on another table?

This is just a dummy example. In reality I have a foreign key which references a lot of more columns. That why I'm trying replace the normal join with a "natura

Azure DevOps build task VSBuild copies DLL marked as copy=false

I'm currently trying to create a CD pipeline with Azure DevOps with a solution using .NET Framework 4.8 and Oracle. Unfortunately, I can't make it run; as the D

Need to get appropriate/expected row number in Oracle PLSQL

Getting the following output when i use the below query SELECT P.RefNum ,Ian.ID ,Ian.Date ,Igl.Name ,Ian.Comments ,ROW_NUMBER() OVER (

Oracle DB SQL SELECT FROM a, b INNER JOIN c : is that possible?

I had a SQL SELECT dtl.ACCT_YM AS ACCT_YM, src.SRC_NAME AS SRC_NAME, ptnr.PTNR_NAME AS PTNR_NAME, info.P

Oracle nvl2 not working in stored procedure PLS-00201: identifier 'NVL2' must be declared

As title, I'm writing some Stored Procedure on Oracle, first I checked the version SELECT * FROM v$version; with result Oracle Database 11g Enterprise Editi

Mapping from source to target Very Slow: ODI 12c

Problem : I have a view which was significantly slower earlier(fetching 50 records took 25sec) Made some code changes and performance increased by a lot( 50 re

Get only max values from table for each ID record [duplicate]

I am having table like this, where id is repeating several times. I need to get only max L1 value for each ID, so correct result from the que

Getting the ID of an inserted record instead of a "TTCError" from Oracle using .Net

We are updating an older application to use the "new" Oracle.ManagedDataAccess instead of the locally installed Oracle Client. But since then a simple statement

Oracle SQL how to export null values

in relation with how to copy the records from output of oracle SQL developer to excel sheet I'm using Oracle SQL developer. I've some queries which get some nul

How do I setup tnsnames.ora in asp.net core web application?

I have a small asp.net core 2.2 app that should access an oracle db; I'm using NuGet Oracle.ManagedDataAccess.Core (2.18.6), and it just works on my machine. W

Unique constraint violated message on inserting code below

I am writing this code which throws an error in primary key: DECLARE CURSOR A1 AS SELECT TRANS_DET_ID, (SELECT MAX (NVL(TRANS_DET_DET_ID, 0

Convert the total amount in words

I'm converting my total amount into words using bi publisher. Btw, the amount is base on the data from the data set. Can someone help me what to do? Thanks <