Skip to Main Content

Questions

QuestionUpdatedAsked

Hi TOM,Sorry for asking this basic question (After two hours of searching, I am unable to find the answer)Let's say I have run opatch in an ora19 home to patch the binaries.But then I "forgot" to run datapatch.Is there any dictionary view to tell me that I "fo...
5 hours ago5 days ago

Hi Tom,My first time asking a question here. Am querying a historical table which not only has START_DATE and END_DATE, it also has CURRENT_FLAG where CURRENT_FLAG = 1 corresponds to END_DATE is null.I assume that the CURRENT_FLAG column (all 0s and a 1) woul...
5 hours ago4 days ago

Hello Experts,For an upcoming audit requirement, am working on a query. I am facing performance issues in getting the data. In one table gl_import_references the transactional references are stored in reference columns. There is a index in this table for colum...
6 hours ago2 days ago

Hi. What is the technical reason why the package DBMS_DEBUG_JDWP is not available on the Oracle Autonomous Database? What does it do that makes calling it illegal in PL/SQL?Thanks,...
6 hours ago2 days ago

We have a UI based application where users come in and setup SQL's to get excel based reports back, there are multiple options to chose on the schedule of the SQL execution and other related parameters. It's a free text box, the expectation is that the users w...
6 hours ago47 hours ago

Hi,I am working on a Archiving application. Aim is to bring year and years of data from Production DB into another DB named as Archiving DB and then delete from the Production DB. Currently I am testing deletion on an Archiving DB to test my package performanc...
22 hours ago7 days ago

Why Do /*+ materialize */ Hints Generate Redo?What modifications are materialized subquery factoring clauses making that is needing to be protected by redo?Session A executes a SELECT statement six times. The first three executions are without the /*+ materia...
22 hours ago8 days ago

Hi there, masters.I'm facing a rather weird situation regading the TSTZ configuration. A full detailed description of my initial problem is here in this post I made some months ago: https://community.oracle.com/tech/developers/discussion/4490678/ora-39405-sta...
22 hours ago2.2 years ago

HiI have a query that is spooling results to a text file via an automated process Monday to Friday. Below are the variables that are used in the query. The queries returns data in Oracle SQL Developer, but returns only the headers with no data when I use Toa...
22 hours ago8 days ago

I have a table with two columns that need to be defined as primary keys, order_number and item_number. A table can have only one primary key, but I can define composite primary keys in the table_constraint syntax. How do I define two columns as composite pri...
23 hours ago24.1 years ago

Dear AskTom Team,first of all thanks for all the support you are giving all of as for some many years.I already read many of your answer about the topic <b>PL/SQL Collection</b> slowing sql execution.I alredy tried all the hints (such for example the <b>cardin...
23 hours ago9 days ago

Hi Tom,I have a question about having an ID column in all tables of an OLTP system. In my application, all tables have ID (Not sure why it was designed that way) column which gets populated by Sequence and this ID column value is not used as a referential key ...
47 hours ago3 days ago

hi tomcan u explain me in detail about "start with connect by" sql statement (tree structure).i know there is documentatin but it is very confusing. ...
48 hours ago23.2 years ago

Hi Tom,I want to send email through PL/SQL by using utl_mail package, I have completed below steps1. Installed scripts <b>@$ORACLE_HOME/rdbms/admin/utlmail.sql @$ORACLE_HOME/rdbms/admin/prvtmail.plb</b>2. granted execute to user3. created ACL and granted...
48 hours ago4.4 years ago

Hi Tom/Team,I have installed Oracle 11g Database on my Windows 10 64-bit machine.All installation has been completed successfully. I have checked connections by sqlplus and it's running fine. I am able to run queries as well there. So database is working fine ...
2 days ago5.4 years ago

Dear Ask Tom team,Could you please clarify why using a longer declared size of VARCHAR2 affects CPU consumption during SQL execution? Assuming that there are no essential flaws in my benchmark design.Based on my findings, the declared size of VARCHAR2 does imp...
5 days ago8 days ago

I have an issue, where i am trying to upload data from my xml file into the table using oracle apex data parser api . I have 6 columns in xml file and in which 1 column is not having any data in any of the records . When i try to insert the data , instead of s...
7 days ago2 weeks ago

Hi TOM,Not long ago it was easy to determine if your DB is on premise or on cloud: their banners (from v$VERSION) were different.Now Entreprise and Standard original editions can be on premise or on cloud so we can no more determine in which environment we are...
7 days ago2 weeks ago

Dear Team.Firstly I would like to thank you for your valuable time and quick responses.I have two users userA, userB.userA has a table abc and userB want to access it.When userA grant select, insert, update, delete to userB directly then userB can access it wi...
7 days ago6.8 years ago

Hi Team,I have a question about the background execution of dequeue procedures Oracle <b>Advanced Queuing</b>.We are using Oracle 19c & in our case, we are enqueuing AQ messages through DML triggers using dbms_aq.enqueue. Then we dequeue using dbms_aq.dequeue ...
10 days ago2 weeks ago