on 12-10-2014 12:03 PM
I'm trying to System Copy a database (SQLServer 2012) in a named instance of SQL. I'm therefore unable to use the schema conversion via sapinst (see TST_conv_error) as it won't see the named instance.
I'm therefore having to try the old way (sapnote1294762) - move and repair. The scripts seem to have done what they've supposed to do (see TST_dboschema), but I'm getting the 'User tables belonging to the dbo schema were found in the database' error - these 7 tables seem to be in every other database that I've checked. Checked the permissions on the schemas and they are all as should be.
I've opened an OSS call with SAP, but was wondering if anyone could help out with this issue?
Hi,
these are tables from the monitoring environment within the SAP system and they should belong to the tst schema. You can try to move them by running
USE TST
ALTER SCHEMA tst TRANSFER dbo.sap_dblocks
ALTER SCHEMA tst TRANSFER dbo.sap_mon_para
....
If you get an error that the object already exists, the tst table already exists and dbo table is most probably from an old monitor and can be dropped. You might want to transfer the data to the existing table, you can do this by running:
INSERT INTO tst.<table> SELECT * FROM dbo.<table>
Best regards
Clas Hortien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Clas!..dropped the tables and all working fine now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.