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?
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?
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