on 10-25-2017 7:55 PM
Hello,
Is there a way to find invalid objects belonging to users that have been dropped. For example, we had a few BI developers develop their own views using their login names. Once they moved on, the security team dropped their logins. Unfortunately, these objects are still referenced/linked to the _SYS_BIC schema. During an export/import w/ schema rename of the original base schema, we encounter errors related to these objects.
Is there a way to identify these objects before we start the export/import process ?
SAP HANA 1.22.04
SUSE Linux 11 SP3
Thank you in advance...
Cheers,
/gxo13
That's expected and documented behaviour. When dropping tables, dependent objects like views or synonyms don't automatically get dropped.
Instead, the dependent objects get invalidated. This provides the option to check for invalidated objects after the base objects have been dropped. (E.g. system table VIEWS has a IS_VALID field).
With this information, you can create a list of invalid objects and make sure that all of them are corrected or deleted before you transport your development.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check if deleting the deleting the user, removes their schema and therefore all the objects tied to them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.