Alter stored procedure - linked server not connected I'm trying to change a stored procedure that is used to updates data in a local and a linked server. "UPDATE [PcName].[DatabaseName].[dbo].[TableName]"

As both servers are available the stored procedure can be executed (updated) without an problem. If the linkedserver is down, I'm getting this error message:

OLE DB provider "SQLNCLI11" for linked server " linkedserver " returned message "Login timeout expired".
OLE DB provider "SQLNCLI11" for linked server "linkedserver " returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
Msg 53, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [53]. 


How can I still change a stored procedure while the linkedserver is down?
You 'could' temporarily change the linked server 'connection' to point to a Sql instance that is available, but be aware that linked servers do not 'honor' Deferred Name Resolution and any object referenced by the linked server will need to exist on the temporary connection.  Here is someone with a 'similar' problem and some suggestions.