To log in to SQL Server
osql /U login_id /P password /S servername
or
isql/U login_id/P password /S servername
osql Utility