Enable the sa login in SQL Server.
In Object Explorer, connect to an instance of Database Engine.
On the Standard bar, click New Query.
Copy and paste the following example into the query window and click Execute. The following example enables the sa login and set a new password.