Replace <VIEWNAME> with view that you want to delete and run below queries-
DELETE FROM MAXOBJECT WHERE OBJECTNAME ='<VIEWNAME>'
DELETE FROM MAXOBJECTCFG WHERE OBJECTNAME ='<VIEWNAME>'
DELETE FROM MAXVIEW WHERE VIEWNAME ='<VIEWNAME>'
DELETE FROM MAXVIEWCFG WHERE VIEWNAME ='<VIEWNAME>'
DELETE FROM MAXATTRIBUTE WHERE OBJECTNAME ='<VIEWNAME>'
DELETE FROM MAXATTRIBUTECFG WHERE OBJECTNAME ='<VIEWNAME>'
Restart Maximo server after deletion.
------------------------------
Prashant Sharma
Sedin Technologies
Connect with me @
https://www.linkedin.com/in/psharmamaximo/#IBM Champion 2022
#IBM Champion 2023
------------------------------
Original Message:
Sent: 06-22-2023 15:27
From: Amar Msaid
Subject: How to delete deprecated view from maximo
We have a view that is not used yet. i want to delete this view because when i change the configuration of fields in the object that is extended by this view, the view is marked as changed and when i apply changes there is errors in the database configuration. i can't correct the sql of the view because it reference a dblink to a server that has been removed from our organization.
so the question is: is it possible to delete a view from the database configuration application or by using sql requests ?
Thank you for helping.
#EverythingMaximo
------------------------------
Amar Msaid
Societe des traversiers de Quebec (STQ)
------------------------------