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