Quantcast
Viewing all articles
Browse latest Browse all 2997

User tables belonging to the dbo schema were found in the database

I was performing System Refresh using backup/restore method.While running sapinst on DB host I was getting below error 

 

     Image may be NSFW.
Clik here to view.
ScreenHunter_1473.jpg

Database Environment :-MS SQL Server 2014 (MS SQL 12.0)

 

Solution:-

SAPINST expects only tables in schema of your DB. I found that We have user tables in schema 'dbo'.

Run this statement to find out what tables SAPNST has a problem with:

use <DB SCHEMA NAME>
go
select * from sys.tables where schema_id = schema_id('dbo')

 

     Image may be NSFW.
Clik here to view.
ScreenHunter_1471.jpg

 

You can export them or Delete them.I deleted them and went ahead with the installation.

 

Use below command to delete them

 

droptable dbo.sap_dblocks ,dbo.sap_mon_para,dbo.sap_tsize_sample,dbo.sap_mon_text,dbo.sap_tabstats,dbo.sap_tr2_tracedefs

 

Now check again if theye are indeed deleted or not.

Image may be NSFW.
Clik here to view.
ScreenHunter_1472.jpg


Viewing all articles
Browse latest Browse all 2997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>