Access SQL Server base via CMD

Asked

Viewed 1,777 times

1

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

Can anyone tell if SQL SERVER also has a similar command?

1 answer

2


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

If it doesn’t work check that the path of the sqlcmd.exe folder is added in your PATH environment variable

REF:https://technet.microsoft.com/pt-br/library/ms165702(v=sql.105). aspx

Browser other questions tagged

You are not signed in. Login or sign up in order to post.