select
A.ID,
A.START_DATE+delta dt
from
t_dates A,
(
select level-1 as delta
from dual
connect by level-1 <= (
select max(end_date - start_date) from t_dates
)
)
where A.START_DATE+delta <= A.end_date
order by 1, 2
More Related Contents:
- Calculating difference between two timestamps in Oracle in milliseconds
- How to use Timestamp_to_scn and Scn_to_timestamp in Oracle?
- How do I limit the number of rows returned by an Oracle query after ordering?
- How to create id with AUTO_INCREMENT on Oracle?
- When do I need to use a semicolon vs a slash in Oracle SQL?
- Is there an Oracle SQL query that aggregates multiple rows into one row? [duplicate]
- How to handle a single quote in Oracle SQL
- Select count(*) from multiple tables
- Fetch the rows which have the Max value for a column for each distinct value of another column
- REGEX to select nth value from a list, allowing for nulls
- Concatenate and group multiple rows in Oracle [duplicate]
- Difference between BYTE and CHAR in column datatypes
- Call a stored procedure with another in Oracle
- create table with sequence.nextval in oracle [duplicate]
- Oracle: loading a large xml file?
- IF EXISTS condition not working with PLSQL
- Group by alias (Oracle)
- Using pivot on multiple columns of an Oracle row
- Sleep function in ORACLE
- Split comma separated values of a column in row, through Oracle SQL query
- Foreign Key Creation issue in Oracle
- create custom function for date difference excluding weekends and holidays in oracle sql
- How do I list all tables in a schema in Oracle SQL?
- Is there a version control system for database structure changes?
- oracle sql: update if exists else insert [duplicate]
- Oracle: Updating a table column using ROWNUM in conjunction with ORDER BY clause
- Compare Strings ignoring accents in SQL (ORACLE)
- Oracle DB: How can I write query ignoring case?
- ORA-00942: table or view does not exist (works when a separate sql, but does not work inside a oracle function)
- Oracle Convert TIMESTAMP with Timezone to DATE