-- Run this once — it generates ready-to-run queries
SELECT 'SELECT ''' || table_name || ''' AS table_name, COUNT(*) AS rows_last_45_days FROM ' ||
table_name || ' WHERE INTERNTIMESTAMP >= SYSDATE - 45;'
FROM user_tab_columns
WHERE UPPER(column_name) = 'INTERNTIMESTAMP'
AND data_type LIKE 'TIMESTAMP%'
ORDER BY table_name;
Related Posts
Why Use Sass?
Syntactically Awesome Style Sheets, or SASS for short, is preprocessor for CSS. It claims to be the most…
WTH is Retrieval Augmented Generation (RAG)?
Language models have been at the forefront of modern AI research. The journey began with traditional recurrent networks…
How to start a project in Rust
Rust is a programming language that is becoming more and more popular among developers. But what would be…