Access SQL Server database via CMD

1

In Oracle I know how to access and execute queries through sqlplus in CMD.

Does anyone know if SQL SERVER also has a similar command?

    
asked by anonymous 06.06.2017 / 21:13

1 answer

2
  

You can manage your Microsoft SQL Server 2008 databases   Express (SQL Server Express) by using the sqlcmd utility at the   command. To access the sqlcmd utility, click Start,   Run and type sqlcmd.exe.

If it does not work, make sure that the path of the sqlcmd.exe folder is added to your PATH environment variable

REF: link

    
06.06.2017 / 21:17