>Yes, I tried to execute this script but something does not work. Most likely the problem is with roles and/or permissions, since I am attaching this database to the customer SQL Server and doing it via VPN connection. What happened is the database appears in the list of the databases in the customer SQL Server. So it seems as it should work. But I can't get down to any tables; getting error.
>Thank you.
Can you post the error message?
If it's not broken, fix it until it is.
My Blog