Can someone please provide Oracle sql query to get below output?Deptno Dept Name No. of emp10 a 10 b 20 c 3020 d 40 e 50 f 6030 g 70 h 80 i 90... | 9 hours ago | 22 hours ago |
Hello ASK TOM team,Recently our client has come out with a requirement to be able to rollback database part of any application deployment. Now in our case, the application deployment can mean any or all of the following from a database perspective:a) PL/SQL co... | 9 hours ago | 5 days ago |
How do I know which tablespaces have which data files and their path on disk?... | 9 hours ago | 24 hours ago |
Hi Team,This is the first time I am asking question on asktom, while I am very much thankful to the solutions you have provided and kept helping people always.We want to add 60 CLOB columns to the table which is around 17TB in size. This is a datawarehouse DB... | 28 hours ago | 7 days ago |
Hi Tom, Thanks for your continuous support. We have a table with blob data type as one column. We are using secure file option as we are using 11g. We kept the blob column in a seperate tablespace. In the main table we have a column called streamID whic... | 29 hours ago | 16.5 years ago |
Hi Tom,Presently, it is not possible to replace a part of a LOB (the DBMS_LOB package does not have a replace function). The write procedure overwrites.Is it possible, if not why, to write at a certain position (not append) and offset the remaining portion whi... | 4 days ago | 24.1 years ago |
I’m having trouble with the parallel execution of an Oracle SQL query for creating indexes on <b>separate table (assume each table have single index)</b>.The performance boost isn’t even close to what I was hoping for. I therefore need your help in determining... | 4 days ago | 8 days ago |
Hi,I see Oracle document shows an example of insert statement for fast ingest as INSERT /*+ MEMOPTIMIZE_WRITE */ INTO test_fast_ingest VALUES (1,'test');Can fast ingest using memoptimize be used for insert statement, that is INSERT as select...INSERT /*+ MEM... | 4 days ago | 7 days ago |
I created a new project in Visual Studio 2019 with Entity Framework v6.5.1, Oracle.ManagedDataAccess v23.8, and Oracle.ManagedDataAccess.EntityFramework v23.8.When I add an ADO.NET Entity Data Model, I select EF Designer from the database. It then prompts me f... | 4 days ago | 12 days ago |
Dear TomI have Oracle EBS 12.8 with Oracle 12C. I upgraded my database to 19C with the latest patches, and everything is working fine, except my DBlink with another MS SQL server. Note that it was working before the upgrade. I dropped the DBlink and re-created... | 6 days ago | 6 days ago |
Dear Ask Tom team memebers.Is it possible to to measure sql effectivity via computed throw away row count ?Its clear that optimizer tries to build the plan to minimize throw away rows for the next steps in the plan. So it tries to send only relevant rows to ne... | 9 days ago | 4 weeks ago |
Hi,While listening through the video "Developer Coaching - Oracle Database 23ai - Zero Slides, Zero Marketing, 100% Live Demo" there mentioned that we can set the oracle wallet path to system: to access the windows level certificates, but when I tried the same... | 9 days ago | 13 days ago |
hello I have a table FCM PARTITIONED ON (Q) Column BY RANGE INTERVAL( NUMTODSINTERVAL(7, 'DAY')) i have an issue that "current/active" partition becomes stale several times a day vast majority of DMLs on the table are INSERTS (basic inserts , with val... | 9 days ago | 11 days ago |
Hi,Tom:The recycle bin is empty, and no DDL statements similar todrop BIN$MmWdiJOqKt7gY0eQFAotmw==$0 were executed.However, the following error was reported:Caused by: java.sql.BatchUpdateException: ORA-00604: error occurred at recursive SQL level 1ORA-38301: ... | 9 days ago | 13 days ago |
Hi TeamPlease find re-producible data available in LiveSQL shared link -> https://livesql.oracle.com/ords/livesql/s/c9r56fcrqizrcrc5aiep4hrpnRequirement is to fetch last record for "t_id" column value for each "code" + "status" column values respectively.Looki... | 9 days ago | 12 days ago |
<b>Use Case:</b> We are implementing partitioning in the AQ to enable batch processing with array dequeue while ensuring:1. Ordering maintained per partition (FIFO).2. Possibility to Array Deqeue on Application side. ( Unless provided a more performant solutio... | 12 days ago | 2 weeks ago |
how can i import a file version 24.2.2 into 24.1.7 ... | 13 days ago | 2 weeks ago |
Hello,Please advise on how to create List Partition with Range Sub-Partition.Also on the Range Sub-Partition like to have name custom defined based on each day like DEL_AUG_082019.<code>CREATE TABLE "DBB_USER"."STG_ES_STS" ( "CS_ID" CHAR(7), "CWIN" NUMBER(9), ... | 13 days ago | 5.7 years ago |
Hi,I am getting error Ora-08103: Object No longer exists when select query uses type object in a procedure.below the code used for select query procedure upp_rate is l_typ_detail_list typ_detail_list; begin select typ_oc_sec_detai... | 13 days ago | 2 weeks ago |
Why is the size of shared pool in the query not exactly the same as in the init.ora (52,428,800)?It is slightly large (54,361,560). SVRMGR> select pool,to_char(sum(bytes),'999,999,999') from v$sgastat group by pool ; POOL TO_CHAR(SUM(-----------... | 13 days ago | 24.2 years ago |