If the server is set up to use integrated security (as described in Chapter 3, Configuring Servers), you will not need to supply a login ID or password (and if you do supply them, they will be ignored by SQL Server).
If the server is not set up to use integrated security, after you start the server computer, you must log in to SQL Server to administer it. When using the graphical management tools provided with SQL Server, if a login is required the application will prompt you to supply the server name, a login ID, and a password. When using the isql utility, log in as described in the following procedure.
From the command line, type: isql /U login_id /P password /S servername
where
For the full syntax of the isql utility, see the Microsoft SQL Server Transact-SQL Reference. For information about logging on using the graphical administrative tools provided with SQL Server, see the online Help for each application.
The first time you log in to a newly installed SQL Server, use sa as your login identification and no password. After you log in, change the SA password to prevent other users from using the system administrator's privileges. You can change your own password, and the SA can change any user's password, by using SQL Enterprise Manager or sp_password. For information on changing the SA password, see Chapter 3, Configuring Servers. or the Microsoft SQL Server Transact-SQL Reference.
You log off from SQL Server by exiting the application you are using to administer it.