I have restored a database on another server. This database has SQL function that use .NET assemblies, which were installed on the previous server.
What is the easiest way to reinstall there assemblies?
If i just do
CREATE ASSEMBLY SQLHelpers
I get an error saying: Assembly SQLHelpers already exists in database
When i first try to remove by using
DROP ASSEMBLY SQLHelpers
I get: DROP ASSEMBLY failed because 'SQLHelpers' is referenced by object
I could alter all code in all functions, so that it looks like this assembly is not being used anymore, but isn't there a more simple way to update / reinstall / force install this thing?
To update an existing assembly you can use alter assembly SQLHelpers from ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.