2019-09-04 How-to-install-sqlcmd-in-Azure-Function-App-(Linux) 123456789apt-get updateACCEPT_EULA=Y apt-get install msodbcsql17# optional: for bcp and sqlcmdACCEPT_EULA=Y apt-get install mssql-toolsecho 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profileecho 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrcsource ~/.bashrc# optional: for unixODBC development headersapt-get install unixodbc-dev 1sqlcmd -S yourdbname.database.windows.net,1433 -U username -P 'YourPassword' -Q 'SELECT @@Version' Newer C# 7.1 Async main Older Inside-the-Azure-App-Service-Architecture