Skip to content

Instantly share code, notes, and snippets.

@dincosman
Last active March 6, 2022 19:29
Show Gist options
  • Select an option

  • Save dincosman/bf67bd41c98ec066a78dd90ce474a16b to your computer and use it in GitHub Desktop.

Select an option

Save dincosman/bf67bd41c98ec066a78dd90ce474a16b to your computer and use it in GitHub Desktop.
The query to detect and drop, not needed mdxt_ tables.
SQL> SELECT 'DROP TABLE ' || T.OWNER || '.' || '"' || T.TABLE_NAME || '" PURGE;'
AS DROP_MDXTS_COMMAND
FROM DBA_TABLES T
WHERE T.TABLE_NAME LIKE 'MDXT%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment