How do I config my linked server to connect to the other database with following properties:
ServerName:saleh
user:sa
password:....
Computer IP address:192.168.100.146
How do I config my linked server to connect to the other database with following properties:
ServerName:saleh
user:sa
password:....
Computer IP address:192.168.100.146
I found the solution my self. so I'll share it here
EXEC sp_addlinkedserver
@server = 'saleh',
@srvproduct = '',
@provider = 'MSDASQL',
@provstr = 'DRIVER={SQL Server};SERVER=192.168.100.147;UID=sa;PWD=123456;'