Knowledge Base : Glossary : Suggest a Question
Search The Knowledge Base
Browse The Knowledge Base
Knowledge Base : General : SQLServer

Solution for 'osql' is not recognized as an internal or external command (While login to Sql From the command prompt if you getting this error)

While login to Sql From the command prompt if you getting this error,


'osql' is not recognized as an internal or external command, operable program or batch file .



Step:1

Go to My computer properties

Step:2

Click Advance and go to Environment Variables

Step:3


Now open the System variable 'PATH' in edit mode

Step:4


Check the below address path in that system variable, if it is missing means copy and paste from the sql installation path and restart the system.


Sql installation path in Default C drive means use below path




By

Tamilarasan.M

TechSupport

Related Articles
There are no related articles


Viewer Comments Add Comment
No viewers have posted comments

Powered By AutoKB