How to log in to the default instance of SQL Server (Command Prompt)

SQL Server Setup Help

SQL Server Setup Help

How to log in to the default instance of SQL Server (Command Prompt)

To log in to the default instance of SQL Server

  • From a command prompt, enter either:

    osql /U [login_id] /P [password] /S [servername]

    -or-

    isql/U [login_id]/P [password] /S [servername]

See Also

osql Utility