3,476 questions
Advice
0
votes
2
replies
45
views
Spool failure that breaks up the excel due to few columns that contain paragraphs worth of data
So I have been tasked to automate numerous reports which i succeeded mostly apart from this one case, I tried many recommendations from chatgpt but most were busted, the broken excel file started ...
1
vote
1
answer
61
views
error when access oracle server (with docker) from host sqlplus
[Q] How to fix ORA-29024: Certificate validation failure when connecting from host to Oracle in Docker?
my docker image: container-registry.oracle.com/database/adb-free:latest-23ai
ubuntu 24.04.1, ...
-1
votes
1
answer
53
views
REST working in SQLPlus but not workin in PLSQLDeveloper [closed]
I have a procedure run_rest. Executing this procedure in sqlplus works perferctly - i get response from external system. But executing this in plsql developer throws 400: Bad request.
Does someone has ...
0
votes
1
answer
45
views
SQLPlus Spool Issue
Simple problem. For audit purposes, a new set of steps was initiated when we sign into an Oracle DB using SQLPlus. At the first SQL> command prompt, we immediately activate spool to a file with a ...
1
vote
0
answers
177
views
Problem with MSLSA to use TGT session key from ticket Kerberos and use sqlplus or sqldeveloper
I would like to change in my file sqlnet.ora from OSMSFT:// to MSLSA: to integrate Microsoft security.
The problem come when I try to open a database in with authentification Kerberos like :
sqlplus /@...
-1
votes
1
answer
50
views
Is there any possible way for a compound key to have one OPTIONAL PK?
(Context: I have literally only 30+ hours on SQL & its concepts; Just started fiddling with Oracle, mysql workbench)
A screenshot that depicts what I said below
Currently, I have an ERD that has ...
1
vote
1
answer
51
views
Find time intervals where signal > value
I am using matlab to fetch data from our process database (AspenTech infoplus.21 historian).
I constantly find myself looking for interesting time intervals. Usually I do this in matlab after first ...
1
vote
2
answers
61
views
Pass BLOB to stored procedure from SQL*Plus
How to call a stored procedure from SQL*Plus with blob input parameters?
Below a sample of the SP to be called:
procedure p_dummy_proc (sessionId varchar2, accountId integer, lobData blob, oId out ...
2
votes
1
answer
106
views
How to write multi-line headers in html output file of oracle sqlplus?
The output I need (I need to add multi-line headers):
The output I am getting:
My Query:
-- Enable SQL*Plus HTML Markup
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON
SPOOL "C:\...
0
votes
1
answer
88
views
SQL*Plus HTML Markup: Preventing Raw HTML Tags from Appearing in Output File
Output needed in this format:
I am using SQL*Plus to generate an HTML report from an Oracle database using SET MARKUP HTML ON. However, the output file contains raw HTML tags as plain text instead of ...
1
vote
1
answer
19
views
Data commits to database without explicit commit
I have shell script which inserts/updates data into oracle tables, what I don't understand is there is no explicit COMMIT in the script but data is committed to database, how is this possible?
I have ...
0
votes
1
answer
88
views
PLS-00357: Table,View Or Sequence reference not allowed in this context when execute immediate inside block
I'm trying to use variables in a ALTER SEQUENCE statement inside a BEGIN END block.
When hard coding the Schema name and the sequence name it works perfectly. But when I try to use variables instead ...
1
vote
0
answers
49
views
Sql*Developer: i/o error: The Network Adapter could not establish the connection
When trying to connect to the database in sql*developer, I get the following line:
An error was encountered performing the requested operation:
I/O Error: The Network Adapter could not establish the ...
0
votes
1
answer
429
views
Python : Not able to connect to oracle db ORA-12537: TNS:connection closed
I am trying to connect to oracle database in mac system.
My team generally works on Java so for development. we generally do this to connect to db in java. We connect to ssh tunnel which allows us to ...
0
votes
2
answers
77
views
How to input Oracle query statements in Unix shell variables
I am trying to input an Oracle query statement into a variable in a Unix shell.
I want to remove the header of the SQL result value, so I want to include "set heading off" in the QUERY ...