is there any method to connect to remote system and run SQL commands on that system.
Loading
is there any method to connect to remote system and run SQL commands on that system.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anandu G NathPosted Jan 25, 2024, 12:56 PM
Yes it is possible
You can use SQL server management studio to execute sql command,
You can login with sql Server authentication methode.
Jayraj ChhayaPosted Jan 24, 2024, 6:58 AM
Yes, there are several methods to connect to a remote system and run SQL commands. One common method is to use a client tool, such as SQL Server Management Studio (SSMS), to establish a connection to the remote system and execute SQL queries.
Here are the general steps to connect to a remote system using SSMS:
Another method is to use the SQLCMD utility, which is a command-line tool that allows you to run SQL commands from the command prompt. You can specify the necessary connection details, such as the server name, username, and password, directly in the command line.
Here's an example of how to use SQLCMD to connect to a remote system and run a SQL command:
Replace
,,, andwith the appropriate values for your remote system.Sachin SinghPosted Jan 19, 2024, 4:36 PM
If the SQL Server on the remote system is configured to allow remote connections, you can use SQL Server Management Studio on your local machine to connect to the remote SQL Server instance and execute SQL commands.
like
server 172.78.89.4
username : "<>"
password :"<>"