There’s no need to use extra large tables or ALL_OBJECTS table:
SELECT TRUNC (SYSDATE - ROWNUM) dt
FROM DUAL CONNECT BY ROWNUM < 366
will do the trick.
More Related Contents:
- How to create id with AUTO_INCREMENT on Oracle?
- LISTAGG in Oracle to return distinct values
- Fetch the row which has the Max value for a column
- Oracle SQL: Update a table with data from another table
- Oracle SQL – How to Retrieve highest 5 values of a column [duplicate]
- Fetch the rows which have the Max value for a column for each distinct value of another column
- Concatenate and group multiple rows in Oracle [duplicate]
- Difference between BYTE and CHAR in column datatypes
- SQL to generate a list of numbers from 1 to 100
- SQL Error: ORA-00933: SQL command not properly ended
- CASE vs. DECODE
- DATEDIFF function in Oracle [duplicate]
- Pivoting of data using two columns
- Check if current date is between two dates Oracle SQL
- Benefits Of Using SQL Ordinal Position Notation?
- How do I specify date literal when writing SQL query from SQL Server that is linked to Oracle?
- Unordered results in SQL
- Oracle Dynamic Pivoting
- Foreign Key Creation issue in Oracle
- create custom function for date difference excluding weekends and holidays in oracle sql
- What is it exactly a BLOB in a DBMS context
- Custom Order in Oracle SQL
- Compare Strings ignoring accents in SQL (ORACLE)
- How do you interpret a query’s explain plan?
- 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)
- How to call Oracle MD5 hash function?
- Oracle Convert TIMESTAMP with Timezone to DATE
- SQL Server equivalent of WM_CONCAT function [duplicate]
- Oracle: ‘= ANY()’ vs. ‘IN ()’