Вопрос

Is there any way to run the SQL queries on SQL Server 2000 using command prompt. I just done a google search and understood that there is a command called SQLCMD, but this is only applicable to SQL Server 2005 +.

Это было полезно?

Решение

For SQL Server 2000, the tool was called osql.

See the official TechNet docs on how to use it

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top