Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Deletion of tables/fields/views/synonyms

$
0
0

Hi Experts,

 

Am planning to cleanse HANA db. Identified some tables, fields in a table, synonyms and analytical views for deletion.

 

Tables deletion - Have written a SP with DROP table stmt for identified tables and collected it in CR to transport. (Using HALM for transport)

 

Fields deletion - SP with EXECUTE IMMEDIATE ALTER stmt for identified fields  and collected it in CR to transport.

 

About synonyms, i can see public synonyms for the tables identified for deletion. If base tables are deleted then there is no use to have public synonyms. Please let me know deletion of public synonyms would result in any impact.

 

Analytical views deletion - Only one approach is popping up in my head i.e using SYSTEM or Admin user, right click on view then Delete. Since it's a manual deletion can't be able to capture it in CR for transport. Is there any other way i can delete the view then capture it in CR and transport it across all the landscapes.

 

Thanks in advance.

 

Regards,

SR.K


Viewing all articles
Browse latest Browse all 6412

Trending Articles