OSQL Default SQL Express Install?

  • I'm deploying SQL Express 2005 with Visual Studio 2005.

    For security purposes I need to change the SA password and drop the built-in Administrator group

    I don't need any end users viewing or reverse-engineering my database.

    So following this example:

    http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21680989.html?query=SA+password+script&topics=42

    Q. How do I login to a default installation?

    VS2005 simply installs SQL Express in a default state, I think....

  • This was removed by the editor as SPAM

  • Using OSQL, if you use the -E switch, it uses a trusted login.

    We use it to add other logins to our DB like that.

  • I always install the SQL Server 2005 Management Studio Express. You can find a seperate & free setup of this on the Microsoft Download Center.

    When starting up the management studio, you can access your servce instance by using windows authentication. For this you need to be logged in as an administrator (local or domain)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply