Question

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 +.

Était-ce utile?

La solution

For SQL Server 2000, the tool was called osql.

See the official TechNet docs on how to use it

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top