cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming an SAP HANA Schema

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

lbreddemann
Active Contributor

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.

SergioG_TX
Active Contributor

check if deleting the deleting the user, removes their schema and therefore all the objects tied to them.