Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

SQLCMD not able to connect to SQL Server

$
0
0

Hi All,

I am new to MSSQL, i wanted to execute my stored procedures to my remote DB server, so I have planned to use sqlcmd utility because i dont have ssms installed in my machine. So I have downloaded the utility and installed in my machine. I am able to connect to remote DB server using

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>"}" style="font-size:10pt;font-family:Arial;">sqlcmd -S <ComputerName/IP>

"}" style="font-size:10pt;font-family:Arial;">but when I try to run sqlcmd on the command prompt, its not connecting to sqlcmd prompt, rather its throwing the following error.

"}" style="font-size:10pt;font-family:Arial;">

I have disabled my firewall setting and checked, same case. 

I wanted to automate the same through Jenkins, Can someone help me to fix this. 

Regards,

Dhamodharan.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>