-- 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
Custom Response Statuses and Redirection in Next.js getServerSideProps
NextJS is a JavaScript framework that uses ReactJS for rendering UI in web applications. This framework comes with…
Why Javascript has to be slower than C++
The primary reason is that javascript is an interpreted language Interpreted vs Compiled languages JavaScript is an interpreted…
20 principles I learned from 10 years of developing software
It’s been 10 years since I started my first job in the software industry. Here are 20 principles…