In case you need to run SQL Server scripts from your Mac, do the following to install (NOTE: I use HomeBrew.):
-
- From the terminal, type:
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
ACCEPT_EULA=y brew install --no-sandbox msodbcsql mssql-tools
-
- You should see something like in the screenshot. Type “YES” if prompted and be on your way.
- Once done, type:
sqlcmd