Oracle is a relational DBMS (Database Management System) created by Oracle Corporation.
0
votes
0answers
27 views
How to Fill ? For Prepared Statement in below case [closed]
Java Insert Statement:
insert into temp2(NO,NAME,DATE) values(?,?,?)
I have recieve csv in any one of format below even it may change in formats.
How we insert this statement using ...
0
votes
1answer
119 views
Need to improve performance while merge CSV data into database drastically. What to do?
Kindly consider below scenario,
Base Functionality
Reading CSV file and insert in database after replacing values with web macro.
Reading values from csv @ first header information NO,NAME next to ...
0
votes
0answers
29 views
Simplify Oracle SQL Unions
I have the following SQL query I am trying to use (save/make easy future modifications to) that is essentially the same query over and over and over, UNIONed each time, with only minor changes to the ...
1
vote
2answers
147 views
How to optimize this SQL delete
I want to optimize the performance of this SQL query. If I populate this hashtable with one million keys the query will take around minute. How I can optimize this Java method for faster execution?
...
0
votes
1answer
55 views
Oracle Simple Stored Procedure issue [closed]
I have been having trouble compiling this SP:
CREATE OR REPLACE PROCEDURE CONTACT_CLEANUP()
IS
BEGIN
DELETE FROM CONTACT WHERE SEQID IN (SELECT SEQID FROM PURGE_CONTACT);
DELETE FROM DETAIL WHERE ...
3
votes
0answers
82 views
Parsing Oracle errors with a ksh function
Some time ago I wrote a small routine to run some quick n' dirty queries (and with that I mean it is not used for large queries) against an Oracle DB, but also wanted to do it a bit easier to parse ...
2
votes
1answer
102 views
Slow Oracle to MSSQL migration
I wrote a method that gathers data from an Oracle server, formats and encrypts the data then inserts it into a MS SQL server. The method moves about 60000 records and takes a bit long and is a little ...
3
votes
2answers
196 views
Oracle PL/SQL decryption function breaking index?
I have a package called pkg_crypto.
My select looks like this:
SELECT "SEQ", pkg_crypto.decrypt("NAME", 'secret') name, pkg_crypto.decrypt("TEL", 'secret') tel
FROM MYTABLE
ORDER BY "SEQ" DESC
...
1
vote
2answers
215 views
SQL query for adding column value to compare with other column
I have two tables
table_inventory
List item
inventory_rack_key(primarykey)
node_key
rack_id
inventory_item_key
in_coming_qty,locked_qty
quantity
table_item
...