Sage X3 - Remove Folder
Remove folder from Sage X3
Remove folder in Sage X3 folder. Go to Setup > General Parameters > Folders.
Delete the unused folder.
Manual remove all tables, views and sequences in SQL by running the queries below to get all the drop queries of tables, views and
sequences.
Select 'DROP VIEW ' + TABLE_SCHEMA + '.[' + TABLE_NAME+']' from INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA in ('FOLDER')
Select 'DROP TABLE ' + TABLE_SCHEMA + '.[' + TABLE_NAME+']' from INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA in ('FOLDER')
Select 'DROP SEQUENCE ' + SEQUENCE_SCHEMA + '.[' + SEQUENCE_NAME+']' from INFORMATION_SCHEMA.SEQUENCES WHERE SEQUENCE_SCHEMA in ('FOLDER')
Execute Drop queries from VIEW, TABLE and SEQUENCE.
Once done, run the queries below to remove user/schema/login.
Drop Schema FOLDER
Drop User FOLDER
Drop User FOLDER_REPORT
DROP LOGIN FOLDER
DROP LOGIN FOLDER_REPORT
Last step, manual remove the physical folder in directory below.
folders\FOLDER
folders\X3_PUB\FOLDER
Comments
Post a Comment