adspace


How can check sql version from command line?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how to start mysql server? : Sql dba

1267


What is the current version of postgresql?

1178


If a cursor is open, how can we find in a pl/sql block?

1238


what are all the common sql function? : Sql dba

1131


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2091


what is schema? : Sql dba

1147


Do we need to rebuild index after truncate?

1138


Does group by remove duplicates?

1112


what is sql server agent? : Sql dba

1182


what is dbms? : Sql dba

1061


How do I remove duplicates in two columns?

1186


Can delete statement be rollbacked?

1054


what is collation? : Sql dba

1229


What is your daily office routine?

2346


define sql insert statement ? : Sql dba

1098