How can check sql version from command line?



How can check sql version from command line?..

Answer / Gurmeet Singh

You can check the SQL Server version using the following command in the Command Prompt (for Windows) or Terminal (for macOS/Linux): `sqlcmd -S localhost -U sa -P your_password -Q "SELECT @@version";`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

sales persons should always receive commission of 100 at least. employees who r not sales persons should never receive commission.(Triggers)

1 Answers   Fidelity, Oracle,


What are Global Temporary tables

3 Answers   IBM, TCS,


how can we submit a form without a submit button? : Sql dba

1 Answers  


Is it possible to update views?

1 Answers  


What is sql partition function?

1 Answers  


Define concurrency control. : Transact sql

1 Answers  


What is row_number () in sql?

1 Answers  


Is sql developer case sensitive?

1 Answers  


What is the difference between the sql*loader and import utilities? : aql loader

1 Answers  


What is Temp Table and type of temp table?

1 Answers   HP, SLK,


Explain the methods used to protect source code of pl/sql.

1 Answers  


What is prepared statement in sql?

1 Answers  


Categories