I have an Oracle 18c table that has rows for certain years: I want at least one row for each year within this range: sysyear + 9. In other words, I ...
I have an Oracle 18c table that has rows for certain years: I want at least one row for each year within this range: sysyear + 9. In other words, I ...
I want to get display of future and past dates in mm/dd/yyyy and dd/mm/yyyy format in Oracle SQL 18C using SQL functions, so I want the code for it. I ...
Dec 30, 2022 12:11:57 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate ORM core version 5.6.5.Final Dec 30, 2022 12:11:58 PM org.hiberna ...
Can I use CREATE SCHEMA AUTHORIZATION for something other than the current user's schema? I can do the following: Query 1: Result 1: Query 2 ...
I want to create a new column in my query whereby it takes into account the difference of the current rows datetime - previous datetime. This column c ...
I have few columns which are time and method etc. I need to display the operations performed on a day. How to write the Oracle query ? ...
I have a PROJECTS table and a PROJECT_FINANCES table: I want to select PROJECTS where the related rows in PROJECT_FINANCES only have years that ...
I have a table of road condition ratings (roads are rated from 1-20; 20 being good). db<>fiddle In a query, for each road, I want to generat ...
I need to populate maximum created_on, created_by````, and f_name``` from the following logic: created_on: MAX(created_on) created_by: MAX(created ...
Oracle 18c: I have a query that joins from a view to a subquery (related post: Join between XML queries). Explain Plan Screenshot Normally, I'd i ...
Using the following data: I can select the geometry's startpoint X coordinate using this expression: I want to create a function-based index u ...
Oracle 18c: I have SDO_GEOMETRY objects: I want to extract the ordinates from the objects as comma delimited strings: I want to perform the ext ...
Oracle 18c: I can get SDO_ORDINATE_ARRAY values from SDO_GEOMETRY objects: db<>fiddle For what it's worth, this is what the definition of t ...
Oracle 18c: I have a custom member function that works as expected. It lets me extract an element from a varray by index. For example, extract the f ...
Test #1: I have a query that successfully invokes the Query Result Cache hint: /*+ result_cache */. Line 2 in the explain plan shows the RESULT CA ...
Test #1: I have a user-defined function and a CONNECT BY LEVEL query: That non-deterministic function work as expected. It returns sequential numb ...
Oracle 18c: I have mapping software that has a limitation where it can only handle a single geometry column per table. If there are multiple geometry ...
Oracle 18c: I've created a user-defined type and a member function that work ask expected. The member function returns an mdsys.sdo_ordinate_array s ...
As an experiment, I'm interested in writing a custom equals(..) function that would mimic the is [not] distinct from functionality that exists in some ...
I have two number columns: COST1 and COST2. Values can be: Negative numbers Zero Positive numbers Null COST1 CO ...