Questions tagged [oracle11g]

Oracle is an Object-relational Database Management System (ORDBMS) created by Oracle Corporation. Specific releases of the product are known as Oracle9i, Oracle10g, Oracle 11g and Oracle 12c, where "i", "g" and "c" stand for "internet", "grid" and "cloud" respectively. Generally there are two releases within each major version. Questions tagged [oracle11g] are assumed to be specific to this version or features introduced in this version.

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

Move database schema with data from Oracle 11.2.0.2 to Oracle 19.3.0

I am looking for tools to transfer about 12 schemas with data (very large schemas with a very large number of objects, almost 1TB with data) from an old server with Oracle 11.2.0.2 to a new machine ...
NewSQLguy's user avatar
0 votes
1 answer
25 views

Oracle query - display column values as column names for sum by date range

I need to write an oracle query to find total contract quantities ordered each week (Monday to Sunday) between 2 given dates (say, :startdate = '28-Nov-23' and :enddate = '15-Dec-23') and display the ...
Sheva's user avatar
  • 37
0 votes
0 answers
30 views

getting issue unable to load cache item while upgrading java 8 to java17 with spring boot 3.2.1

I am upgrading from java 8 to spring boot 3.1.2, java 17. I am able to build the application, but run time getting this error. what are the clues. Exception in thread "main" java.lang....
rao's user avatar
  • 1
0 votes
2 answers
34 views

Oracle Trigger: Unable to Update Table Using Subquery or Variables

I am encountering an issue with an Oracle trigger where I am attempting to update a table based on a subquery result or a declared variable. The trigger is designed to execute before an update on the '...
NatsumeFlowers's user avatar
-1 votes
2 answers
45 views

Table in Oracle which will store the Server count on monthly basis

I have to create a table in Oracle in similar that can be seen below. As you can see months and year is combined and then storing the monthly server count data based on the description type. To fetch ...
codeplex's user avatar
-2 votes
0 answers
24 views

I am updating columns using join but getting error near from keyword [duplicate]

--I am updating columns using join but getting error near from keyword PROCEDURE UpdateShift ( V_ShiftName varchar2 , V_UpdatedBy Date DEFAULT null , V_AttendanceId varchar2 ) as begin ...
sudhir mishra's user avatar
1 vote
2 answers
48 views

where clause queryString giving SQL Error: 920, SQLState: 42000 in Oracle DB

I have below code trying to fetch some data from Oracle DB tableName based on post request sent. I form query queryString using all post request inputs by appending over a loop, then send this ...
user3534759's user avatar
1 vote
2 answers
41 views

in oracle db how does comparision workks when we provide the string in place of a number?

Suppose I have a query like this (not so practical, and I'm aware this is not the approach) SELECT * FROM CO.CUSTOMERS WHERE CUSTOMER_ID = '1' AND length((SELECT FULL_NAME FROM CO....
The beginner guy's user avatar
-1 votes
0 answers
17 views

SQL query to get all Outbound ‘OBEDI’ records and associated records from the same table

I’m trying to create a SQL query to get all Outbound ‘OBEDI’ records and associated records from the same table, for a date timeframe from a table named BIZDOC : Extract Doc Id # from Userstatus (...
Fernando Gastaldi's user avatar
1 vote
1 answer
27 views

Oracle 11g - Counting sum of amount after converting

There are tables transactions and currencyRate: fiddle I am displaying transactions of client (sender_name) with total amount sent money more than (amount) > 1000 within seven days after the first ...
Saidvali's user avatar
0 votes
1 answer
37 views

Mystery and troubling error from Oracle Entity Framework

Scenario: The code in question was tested in our development environment and it works fine (this is very important, because we only have 1 code base) Oracle 11g Oracle Entity Framework 7.21.8 The ...
Johnny Wu's user avatar
  • 1,335
0 votes
2 answers
74 views

Sql Command not properly ended//

It displays sql command not properly ended PROCEDURE getCalendar ( V_Year VARCHAR2, V_Month VARCHAR2, V_LoginId varchar2, curAttendanceDate OUT T_CURSOR ) AS ...
sudhir mishra's user avatar
0 votes
1 answer
38 views

How to get the data from OR condition in oracle

I have three parameters.Fromdate,todate,and policy number. Among these three parameters fromdate and todate are mandatory and policy number is optional parameter. If I select only from date and to ...
Naveen 's user avatar
0 votes
2 answers
49 views

Assign Releases to Reverse Release based on the balances

I have two tables and need to assign the amounts based on the balances(releases) available. Here the releases are only available for 20 so assign based on the availability RELEASE PID relDate ...
Mani's user avatar
  • 721
0 votes
1 answer
34 views

WANt to use table variable in @dtAttendance dt in below mentioned oracle query

(how to write below code in oracle) WANt to use table variable in @dtAttendance dt in below mentioned oracle query dont no how to use PROCEDURE uploadShiftRoaster ( ...
sudhir mishra's user avatar
-3 votes
1 answer
58 views

I need to convert below code from sql to oracle SQL

I need to convert below code from SQL Server to Oracle: Update A Set A.ShiftName=@ShiftName, A.ShiftStartTime=DATEADD(day,DATEDIFF(day,0,AttendanceDate), CAST(S....
Sudhir Mishra's user avatar
0 votes
2 answers
61 views

Whenever I compile both the query It displays error kindly help me to resolve

Below mentioned query is not compiling in Oracle Sql what is wrong with the query SELECT AttendanceId, E.FIRSTNAME || ' ' || E.LASTNAME AS FullName, E.EmpID, E.JobCode, E.Address as Location, E....
sudhir mishra's user avatar
0 votes
2 answers
57 views

Assign the row sequence for each customer from the row where amount is greater than zero

I want to assign the row sequence for each customer from the row where amount is greater than zero. sequencing always should start from the row where amount is zero. Here is sample data with expected ...
Ramesh's user avatar
  • 5
0 votes
1 answer
42 views

trying to connect using dblink

can i connect to server DPS from server MDC using dblink so i already create dblink from MDC to JKT, JKT to DPS, and DPS to JKT dblink image i already try this syntax: select * from (select * from ...
Chezar's user avatar
  • 5
0 votes
0 answers
22 views

SSIS Error "Cannot convert between Unicode and non-Unicode string data types" only on ETL server Windows Server 2016

I'm facing an issue with an SSIS package I developed using Visual Studio 2019 Community Edition. On my local environment, everything runs smoothly. However, when I deploy it on our ETL server running ...
eramirez's user avatar
0 votes
1 answer
39 views

How to split this partition table using values less than and not get ORA-00906

I would like to ask you for help, I've been looking for an example for days and I haven't found anything that works. I have a partitioned table in Oracle 11g and these are its last two partitions. ...
Miguelitus's user avatar
1 vote
1 answer
51 views

I am always getting error on With CTE, dont not what is problem

I am not able to compile below store procedure and i am always getting error near CTE(WITH DAYSINMONTH) I am using join DAYSINMONTH PROCEDURE getCalendar ( V_Year VARCHAR2,...
sudhir mishra's user avatar
-1 votes
1 answer
43 views

How do I update particular record in below scenario?

I have a table data structure like below, ID NAME START_DATE END_DATE CREATE_DATE 100 Apple 01-NOV-23 31-DEC-99 01-NOV-23 100 Anar 10-OCT-23 31-DEC-99 12-SEP-23 100 Anar 04-SEP-23 10-OCT-23 04-SEP-...
AMBIKA SEKAR's user avatar
0 votes
1 answer
62 views

PL/SQL ORA-00902: invalid datatype

I am trying to put this piece of code to a store proc. But the Update statement is throwing invalid datatype error. Any help or advice would be highly appreciated. CREATE TABLE "TABLE1" ...
Rich's user avatar
  • 347
-3 votes
2 answers
82 views

Oracle code is not compiling kindly help me

PROCEDURE UpdateAttendance ( V_AttendanceDate DATE, V_LoginId varchar2, V_SignType varchar2, V_IpAddress varchar2, V_LogonUserName VARCHAR2, V_ShiftName VARCHAR2, V_WorkLocationType VARCHAR2, ...
sudhir mishra's user avatar
2 votes
2 answers
72 views

Skipped error during the execution of trigger

I create a trigger on database event LOGON , to avoid someone without permission login to the database by mistake. When the host name start with C, it need to be reject to connect. CREATE OR REPLACE ...
chen's user avatar
  • 23
0 votes
1 answer
80 views

Error while creating a new database: ORA-56752: Oracle Database Express Edition (XE) memory parameter invalid or not specified

i'm trying to create a new database using "Database configuration assistant" from oracle 21c xe, but i'm getting the error during the creation process "ORA-56752: Oracle Database ...
jose gpp's user avatar
0 votes
1 answer
61 views

Connection created by CONNECT script command disconnected without connecting - ORACLE

I'm trying to use oracle database in my MAC M1, I configured oracle with docker using oracle xe 11g image, and used Colima, As the steps here show link I'm using sql developer to execute my commands. ...
Formerz's user avatar
0 votes
1 answer
113 views

Oracle 11g. Output data within seven days

There is Transactions table in Oracle 11g, like example: CREATE TABLE transactions (id, sender_name, transaction_date, amount) AS SELECT '1111', 'Alice', TIMESTAMP '2023-01-03 01:26:29', 700 FROM DUAL ...
Saidvali's user avatar
0 votes
1 answer
121 views

Display transactions data with consecutive days

I have this Transactions table in Oracle 11G. Please, don't judge my asking question. Table has columns: id (guid type) sender_name transaction_date amount sender_address sender_phone receiver_name ...
MSS's user avatar
  • 29
0 votes
1 answer
41 views

why convertotimezone() function is not available in AZURE DATA FACTORY for my company login?

I am not seeing converttotimezone() function is not available in azure data factory expression builder, I am trying to save one date column from csv file to oracle column TIMSTAMP(6) WITH TIME ZONE ...
prabhakar thati's user avatar
-1 votes
1 answer
113 views

convert below sqlcode to oracle

I need to convert below code from sql to oracle PLSQL please help me Update A Set A.ShiftName=@ShiftName, A.ShiftStartTime=DATEADD(day,DATEDIFF(day,0,...
sudhir mishra's user avatar
1 vote
1 answer
54 views

Oracle gather_database_stats for specific partition(s)

select * from v$version BANNER -------------------------------------------------------------------------------- Oracle ...
Jim's user avatar
  • 11
0 votes
2 answers
30 views

SQL query to return one unix time to represent a day

I need to inform the user the days when an alert took place. I have an alerts_table in my database which stores the unixtime and alerts that took place during that time. select DISTINCT unixtime from ...
jot's user avatar
  • 155
0 votes
1 answer
35 views

Oracle SQL Developer throwing ORU-10027: buffer overflow when run Store Procs with a lot of dbms.PUT_LINE

I got this error "ORU-10027: buffer overflow, limit of 20000 bytes" when I ran Store procs for Bulk testing with a lot of printouts. I tried "set serveroutput on size unlimited", ...
Rich's user avatar
  • 347
1 vote
1 answer
62 views

Pivot an unknown field value [duplicate]

I'm running Oracle 11. I have a table of customers references shorto04 with documents to be printed. There are many type of documents and I don't know them all in advance. Here is an example of data: ...
emare's user avatar
  • 83
0 votes
0 answers
92 views

"ORA-12541: TNS:no listener" from Ubuntu 22.04 and Docker:PHP:8.0-fpm

As part of our work, we were asked to create an Laravel application using existing Oracle Database data. However, we cannot connect to Oracle from either the Docker container we are using for ...
nkmt's user avatar
  • 1
0 votes
1 answer
64 views

Weird performance problem when using EXISTS

I improved my SELECT by replacing LEFT JOINs and ORs with EXISTS: The problem is that original SELECT took 700 ms but new changed SELECT takes 35+ minutes to execute (and still counting). This is ...
Dani Che's user avatar
  • 182
0 votes
1 answer
60 views

Performance issues in queries when "OR" is used inside WHERE

This query executes in 700 ms: SELECT pcl.COL1, pcl.COL2, pcl.COL3, pcl.COL4, (SELECT cc.COL5 FROM T3 cc JOIN T4 cvp ON cvp.COL10 = cc.COL10 ...
Dani Che's user avatar
  • 182
0 votes
0 answers
45 views

Converting double value in spark sql

I have a requirement in which I need to convert string to double in such a way using Spark SQL: 12.56 - 12.56 15.40 - 15.40 12 - 12 0 - 0 We do not need to round, only that whenever there is a whole ...
codingprabhu's user avatar
0 votes
1 answer
90 views

How to improve this SELECT?

Can this select somehow be rewritten to execute faster? What would you suggest? Where to start looking for...? Any help will be greatly appreciated. I don't understand why there is "TABLE ACCESS ...
Dani Che's user avatar
  • 182
0 votes
0 answers
63 views

Migrating oracle 11g to oracle 21c, ORA-00979: not a group by expression [duplicate]

I encountered an ORA-00979 error during the migration from oracle11.1 to oracle21. The following is a SQL example select count(*) from ( select col_3 from ...
kldd's user avatar
  • 39
0 votes
0 answers
27 views

OBIEE 12c Last Modified is not updated when we unarchive file

I was trying archive and unarchive functionality in OBIEE 12c .But i observer that some of objects get updated both Last modified and last Accessed field( ex Visual Analyzer Projects objects). but the ...
RGS's user avatar
  • 1
0 votes
0 answers
26 views

Why there are some hidden files in OBIEE12c catlog

i have seen in catlog there are some random files and they are in hidden mode.the file names are like eecf62800bfd100085670ae4a5190000 are they are importnt while archiving .please let me know i am ...
RGS's user avatar
  • 1
0 votes
1 answer
51 views

Oracle Update Command: Error: ORA-00933: SQL command not properly ended [duplicate]

UniqueID Parcel_id ADDRESS 38077 025 07 0 031.00 410 ROSEHILL CT, GOODLETTSVILLE 43076 025 07 0 031.00 (NULL) UPDATE h SET address = COALESCE(h.address, h2.address) FROM housing h JOIN ...
arpittguptta's user avatar
0 votes
1 answer
30 views

How to get all data when the condition doesn't match or doesn't found

I want all the lines found in the database whose ack_sequence is less than the ack_sequence whose ack_pointtype = 'SUB-ENSEMBLE-JDM'. The problem is that for ack_event that have no ack_pointtype = '...
Sonia Yao's user avatar
-1 votes
1 answer
64 views

SQL Total of only the most recent record

I'm trying to get a list of all persons with a total_pay_amt > 2000. I need to include only the most recent sched_pymt_amt which is determined by sched_pymt_amt_eff_dt for each loan in this total. ...
evanburen's user avatar
  • 287
0 votes
0 answers
26 views

API Assistance for oracle fusion financial 23c

"Greetings, We are currently encountering issues in oracle fusion financial 23c . with the input requirements for certain APIs. For instance, let's take a look at the following POST API: API:- ...
khaled hadidi's user avatar
0 votes
1 answer
29 views

Should we change column from xmltype to clob? orcale11 to 19

I am a junior DBA in a small gaming company, which recently decided to upgrade its Oracle servers from version 11 to 19. From the day the company was founded, 10 years back, there is a major oracle ...
StevenU's user avatar
  • 39
0 votes
1 answer
39 views

using crudrepository with fixed length column in Oracle 11g

I am trying to write a spring boot that queries a Oracle 11g database. was a very simple select * from item where item_code = 'abc' command. But because the database uses CHAR(10) for that id column, ...
Jimmy Chi Kin Chau's user avatar

1
2 3 4 5
407