/ Published in: SQL
Generate the SQL necessary to create sequences for every table.
NOTE: This doesn’t create sequences. The results need to be copied and run as a script.
NOTE: This doesn’t create sequences. The results need to be copied and run as a script.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT 'create sequence ' || TABLE_NAME || '_seq start with 1 nocache ;' FROM user_tables