Closed Adedba closed 3 years ago
Linked server references removed , next step is to remove dynamic strings which were required but now no longer required and can instead be converted to normal TSQL.
Whilst I am at it I will change all DROP PROCEDURE statements to CREATE PROCEDURE AS then ALTER PROCEDURE
Need to put the parameter back in for the proc and default it to a value as removing the parameter broke the PowerShell auto update. The ideal fix is to remove the linked server reference in the PowerShell but this would mean that users will need to update the file in order to receive the latest updates which might be an inconvenience. Will put the parameter back to satisfy the call from the autoupdate powershell but the value will not be used within the proc.
Remove linked server support , just makes it harder to maintain - if required we can always add a module that does a one way push of data from the local machine over linked server to a central server at a later date.