Problem
Create Failed for JobStep "ETL1-iQSonar-Extract"
...
Solution - To rename a computer that hosts a stand-alone instance of SQL Server
For a renamed computer that hosts a default instance of SQL Server, run the following procedures:
Panel |
---|
|
Check if name is the old server name Code Block |
---|
| SELECT @@SERVERNAME AS 'Server Name'; |
Run following command Code Block |
---|
| sp_dropserver 'old_name';
GO
sp_addserver 'new_name', local;
GO |
- Restart the SQL Server service
- Check new name of server
Code Block |
---|
| SELECT @@SERVERNAME AS 'Server Name'; |
|
For a renamed computer that hosts a named instance of SQL Server, run the following procedures
Panel |
---|
|
Check if name is the old server name Code Block |
---|
| SELECT @@SERVERNAME AS 'Server Name'; |
Run following command Code Block |
---|
| sp_dropserver 'old_name\instancename';
GO
sp_addserver 'new_name\instancename', local;
GO |
- Restart the SQL Server service
- Check new name of server
Code Block |
---|
| SELECT @@SERVERNAME AS 'Server Name'; |
|
...