How do I check if SQL is installed on Linux?

How do I check if SQL is installed on Linux?
Answer
Check installed SQL Server version
  1. If not already installed, install the SQL Server command-line tools.
  2. Use sqlcmd to run a Transact-SQL command that displays your SQL Server version and edition. Bash Copy. sqlcmd -S localhost -U SA -Q ‘select @@VERSION’
 

Tìm kiếm

Back
Top