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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Oracle 19c and ONS and FAN Events

I am working on learning more about Oracle Transparent Application continuity and FAN events. I noticed on my test 2 node 19.21 Oracle RAC that I get this error when I type the following onsctl error....
cptkirkh's user avatar
  • 115
0 votes
0 answers
9 views

Scalar anchoring on subtype based on a record type causes error PLS-00487: Invalid reference to variable

i wanna declare and use a subtype with a better name for a record type which has an awkward und unchangeable name. Using record anchoring for variables of this subtype works, but scalar anchoring ...
Erwin Lackner's user avatar
0 votes
3 answers
34 views

Pulling records with same value in multiple columns

I have a sub-table like the following. It contains 14 fields of true/false values, and the Status field is 0 if all values for Status 1-14 is false. DCID Status Status1 Status2 Status3 1 0 false ...
d.sweigart's user avatar
0 votes
0 answers
12 views

Oracle jdbc Wildfy problem Authentication lapse xxxxx ms

we have a problem with one of our Wildfly Application Server (v26) with a datasource connected to a Oracle 19 (19.16). After restarting the appserver everythin is fine. Occasionally, after a few hours,...
zwaem's user avatar
  • 49
0 votes
1 answer
20 views

wizard progress oracle apex

A demo page is prepared where the Wizard container is used within one page. So we move step by step on a single page.I dont know how to do this becouse it forces me for each step to move to next page ...
Pavle Vasiljevic's user avatar
1 vote
1 answer
50 views

Why this oracle select as sql valid?

Please refer to the following oracle sql: create table a(c1 number null, c2 number null); select c1 as, c2 as from a; We can see that select <col_name> as without <col_alias> is valid. ...
yaoweijq's user avatar
  • 273
-1 votes
0 answers
10 views

RDS Oracle to RDS Postgres Migration

I am looking to migrate my RDS Oracle to RDS PostgreSQL. I am planning to do this with AWS Glue and not use any DMS or SC capabilities on AWS. Anyone has any good resources about this or has done this ...
techrs's user avatar
  • 1
0 votes
2 answers
52 views

How to send to Oracle Parameters from C# Ado .NET?

I try to send coil data from c# to ORACLE Database. But when i try to save all of this data I cant get any errors server side. All data looking like saved on the database but nothing happened. ...
Osman TÜRK's user avatar
2 votes
2 answers
57 views

Oracle 19c Regex - Repeating alphabets

I'm working in Oracle 19c. I've a requirement to replace a word with a space if the word contains only the repeating alphabets. Input - 'AAAA TEST CDDDD TEST' Output - TEST CDDDD TEST Input - 'BAD ...
jaykay007's user avatar
1 vote
4 answers
69 views

Create an alternative ID in query Oracle SQL

I am trying to add a column in a SQL query to use as an alternative ID. The data has this format: UserID | Value --------------- 1 | 23 2 | 10 1 | 45 I'd like to create another column ...
Rickerz's user avatar
  • 59
1 vote
1 answer
34 views

Result Differences for Select Query between Postgres and Oracle

I'm currently in the process of migrating some data from oracle to postgres. I was doing some basic comparisons between row counts and I'm founding a problem in one of the queries. First up, all the ...
AbhirChavan's user avatar
0 votes
1 answer
55 views

Select a distinct query for two columns where one of the distinct columns is a minimum value [duplicate]

Using the following table data id group recno 100 1 1 100 1 2 100 3 3 100 3 4 101 2 5 101 3 6 102 1 7 I need to Select a distinct id with a distinct minimum group number and the rest of the ...
Mick Gibbin's user avatar
0 votes
0 answers
13 views

Run changeSet based on non-executed file

We have a changelog file (xml) in our repo for XSD's. This file contains changeSets with an sqlFile changeType pointing to a script.sql for each XSD we have. The script to register the XSD on the DB ...
Mees's user avatar
  • 1
0 votes
2 answers
42 views

Compare (2) Select Results from (2) different tables

I am working with an .ini file that inputs select results into MS Word (based on bookmarks) and all works seamlessly, however I am now trying to have a signature verification display text on a final ...
Brandon Pittam's user avatar
0 votes
0 answers
35 views

How can I select a winning match only once and exclude it from being subsequently considered?

I have multiple shipments of an item coming in. I have way more orders for the given item than I can supply. I've come up with a prioritization system that ranks how an order best fits with a given ...
Bert Sheffer's user avatar
0 votes
1 answer
28 views

Transfer Oracle columns to an array

My problem is I have a large number of similarly defined columns with slightly different names in a table and I want to test their values in a record without using their names. I could use their names ...
genghis's user avatar
  • 11
-1 votes
1 answer
19 views

wrong population Table DB Oracle [closed]

I have a xls file which I have changed into a .csv. In thi csv file I have some columns and data for each columns. I have created the Table for this csv whith the column that exists inside the csv ...
MarioS's user avatar
  • 1
0 votes
2 answers
47 views

how to scan table for special characters

i am finding special characters by using dynamic sql and it is giving error. how to solve this error with this code declare type e_list is record (v_col varchar2(100), ...
Aman's user avatar
  • 11
-1 votes
0 answers
25 views

Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile 'ins_rdbms.mk'

I am getting below error while installing oracle database 19c on RHEl 9.3 machine . Any solution to fix the error. Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of ...
Reddy O's user avatar
0 votes
1 answer
88 views

Oracle PL/SQL varchar2 parameter of a function is returning NULL value

I have created a function that returns a table. This function has varchar2 parameter and the real surprising thing is that this parameter is returning NULL value and I cannot understnd what is going ...
sam's user avatar
  • 1,268
0 votes
0 answers
46 views

Binds that comes from QML leads to trailing null missing from STR bind value in Oracle

I Have a code in QML that sends some strings to a Qt code that at last are used as bind values from a query in Oracle The QML calls a method from a class in Qt through Q_INVOKABLE macro. The method ...
Fabio Paolini's user avatar
0 votes
1 answer
43 views

Oracle DB problem using Kafka Sink Connector

I'm new to the sink connector. When I use the sink connector to receive data, I get the following error. https://docs.oracle.com/error-help/db/ora-01400/ Error : 1400, Position : 0, SQL = INSERT INTO &...
khakyy's user avatar
  • 1
1 vote
0 answers
50 views

Postgres JSONB to Oralce BLOB via Java

Getting given below error while loading Postgres JSONB data into Oracle BLOG data type column. SQL state [99999]; error code [17004]; Invalid column type; nested exception is java.sql.SQLException: ...
Vasanth's user avatar
  • 484
1 vote
2 answers
54 views

efficient way in oracle to check if a value exists is in multiple tables

I need to check if a nvarchar value exists in a table. The column name is barcode, currently I am doing the following SELECT COUNT(*)INTO v_tmpBarcodeCount FROM CONTAINER WHERE BARCODE = TO_CHAR(...
Jason Smith's user avatar
0 votes
2 answers
46 views

How do I return an integer from a number in Oracle?

In Oracle-speak, this would be a NUMBER(9, 0) or anything that maps to a 32-bit (or even a 16- or 64-bit) integer. CREATE TABLE T(C1 NUMBER, C2 NUMBER(9, 0) ); -- Unconstrained and constrained number ...
Charles Burns's user avatar
0 votes
0 answers
42 views

How to insert & ampersand character into database using liquibase

I am trying to insert the string "& n b s p;" (without spaces) into Oracle db using liquibase. & is special character in xml, so I need to escape it somehow. I tried <insert ...
szelelaci's user avatar
  • 183
0 votes
0 answers
15 views

How can I get PHP8 with OCI8 to connect to a remote Oracle database using oci_connect from inside a Docker container?

I have a vanilla PHP Docker container with Oracle Instant Client installed, and the oci8 extension installed and added to the php ini. I have a pretty bland php script to test the oci_connect method: $...
dbcn's user avatar
  • 238
-1 votes
2 answers
34 views

Copy Oracle database to my local database oracle xe problem with tablespace

I am trying to copy my Oracle database to my local Oracle XE database. I am using Oracle SQL Developer. I connected to my database, then exported a .sql file from my database. I then created a new ...
Shahin's user avatar
  • 23
-1 votes
1 answer
48 views

error with SQL foreign key stating parent key not there but i have checked that it is

I get an error when adding a foreign key to this table: Error at line 2/16: ORA-02298: cannot validate (.FK_PATIENT_APPOINTMENT) - parent keys not found This is the SQL I'm using: ALTER TABLE ...
MARmo's user avatar
  • 1
-1 votes
0 answers
63 views

DB increases ID with one between write and read

I have an issue where I want to add an entry to the database, save it, then retrieve the ID (which is created automatically when the entry is saved) and use it in a relational table where the ID in ...
Ank's user avatar
  • 91
0 votes
0 answers
27 views

ODBC Source (connected to Oracle) in a SSIS package keeps running (without error)

I created a new SSIS package with a ODBC source (Oracle) to an OLE DB Destination (MSSQL). During the setup of the source, I could 'preview' the data, so I assume that the connection to Oracle is ok. ...
HEDMON's user avatar
  • 737
0 votes
1 answer
23 views

NJS-098: 2 positional bind values are required but 1 were provided oracledb

I have upgraded the nodejs vesion from 14.x to 18.x . As part of this change upgrdaded the node oracledb version to "6.2.0". when i try to query the from oracle db its throwing following ...
Tamil Prabhu's user avatar
-1 votes
0 answers
32 views

Oracle - pre-process before import 2M rows

I'm using oracle-asp.net I'm importing more than 2,000,000 row from csv file. I have column Number in csv file, data look like: "10,567,000.00" (Included ", ,, and .) Please help to ...
CC Dai's user avatar
  • 1
0 votes
0 answers
17 views

How to convert a column into rows by using split function in oracle SQL [duplicate]

I have multiple rows in the Emp Table, How to convert semicollan separated values into rows SQL,(need to convert all the Department colunm data from all rows and need to get only distinct (unique) ...
Jayanth Raghava's user avatar
-1 votes
0 answers
20 views

Sql developer - Error 'The network adapter could not establish the connection' Ubuntu [closed]

I downloaded oracle database using docker images on ubuntu and it worked, however after a few days I started my virtual machine and when entering the password to connect in SQL Developer an error 'The ...
Cookies's user avatar
-1 votes
0 answers
20 views

find the latest access time of some views in oracle [duplicate]

I would like to find the latest access time of some views in oracle. Can anyone guide me? ` Describe what you tried, what you expected to happen, and what actually resulted. Minimum 20 ...
MohammadMehdi_Najafi's user avatar
0 votes
0 answers
18 views

Oracle Goldengate replication and changing tables structure

I have a table in Oracle Database and the same table in PostgreSQL Database. Structure of the table is different, so I have mapping in replicat to resolve fields mismatch. I want to make some changes ...
mvadim2003's user avatar
0 votes
1 answer
34 views

How to store date with optional time of day in Oracle DB

I want to store a date with optional time of day component. I want to be able to tell if the time of day is unknown or exact midnight. Options DATE/TIMESTAMP + some boolean type indicating if the ...
majster's user avatar
  • 110
0 votes
1 answer
48 views

While running SQL commands through shell script, Column headers are getting trimmed [duplicate]

I'm writing a shell script to get data using multiple select queries one after another but in my result output, my column headers are getting trimmed after two characters. Result I'm getting(Column ...
arpittguptta's user avatar
-5 votes
0 answers
31 views

Change column header with year (dynamically) [closed]

I want to fetch year dynamically. now the column name like this for all month ( april, may, june, july, august, september, october, november, december, jan, feb,...
Hritik Parmar's user avatar
0 votes
1 answer
49 views

Return more than one column from SELECT statement subquery

I have a query that returns a column as an subquery within a select statement: SELECT t.date, ( SELECT COUNT(item_id) FROM item i WHERE t.day BETWEEN trunc(i.start_date) AND trunc(i....
Mike's user avatar
  • 4,203
0 votes
2 answers
95 views

PIVOT of non existing key value in SQL

I have a table test_table ------------------- key value 'a' 'apple' 'b' 'ball' 'c' null 'd' '' I need to PIVOT in below way ! Key for e and f are not present ...
shaan's user avatar
  • 504
0 votes
1 answer
35 views

Oracle password change, REPLACE being ignored

I'm running oracle 19c and in my app server code I'm receiving old/new passwords from the user and building the alter user query, including the REPLACE clause, and executing it. It seems to ALWAYS let ...
Kmus's user avatar
  • 43
0 votes
0 answers
33 views

Configurable Datasource Object Using Encryptionutils

I am creating a datasource object in the following way in a microservice: @Autowired private EncryptionUtil encryptionutils; public ComboPooledDataSource appDataSource() throws PropertyVetoException {...
Arnav Bose's user avatar
0 votes
0 answers
32 views

Oracle Apex not recognising table that i created [duplicate]

I am getting an error with my table named patients. I dropped the table and started again with it and renamed it as below but it is still coming up with and error when I try to insert into the table : ...
MARmo's user avatar
  • 1
0 votes
0 answers
128 views

Pass a XML request to a stored procedure in Oracle database using Node JS [closed]

I want to invoke a stored procedure in a Oracle database which accepts a XML request and sends a XML response using Node JS Express framework. As I am very much new to Node/Express JS, I am unable to ...
Divyajyoti Basu's user avatar
0 votes
2 answers
37 views

SQLDeveloper/SQLPlus: can one get a bit more verbose error messages?

I have an issue running an SQL script in SQL developer (the issue is not SQL developer spe=cific though): Its structure is like so: CURSOR MY_CURSOR IS (SELECT * FROM ... JOIN ... WHERE ...); BEGIN ...
mmo's user avatar
  • 3,959
-1 votes
0 answers
78 views

Getting error abount Missing SELECT keyword in my query

I'm trying to launch a plan and it gives me error Missing SELECT Keyword. I've tried to launch query: EXECUTE IMMEDIATE ' INSERT INTO "' || L1_ODS || '"."' || ODS_EXEC_GUIDEWIRE || '...
MarioS's user avatar
  • 1
-1 votes
1 answer
34 views

Is it correct command to create foreign key with index creation also? I got ORA-01735: invalid ALTER TABLE option [duplicate]

Is it correct or not? alter table test add constraint test_fk foreign key (prim_id) references prim (prim_id) using index (create index i_test_prim_fk on test(prim_id) tablespace index01) on delete ...
Dmytro's user avatar
  • 1
1 vote
0 answers
26 views

Does Oracle database hold history of previous database versions

I need to know if there is a way of querying within Oracle database to find out how the database versions have changed over time e.g. when my organisation shifted from Oracle 12C to Oracle 19C and so ...
SeanGaff's user avatar
  • 103

1
2 3 4 5
3013