Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. MSDE users and passwords

MSDE users and passwords

Scheduled Pinned Locked Moved Database
questiondatabasesql-serversysadmintools
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lockhart
    wrote on last edited by
    #1

    I'm using ADO to interface with MSDE (Microsoft SQL Server 7) but I still have some doubts: 1. What the 'sa' UserID ? Can I use it from my app ? 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Thanks in advance.

    G D 2 Replies Last reply
    0
    • L Lockhart

      I'm using ADO to interface with MSDE (Microsoft SQL Server 7) but I still have some doubts: 1. What the 'sa' UserID ? Can I use it from my app ? 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Thanks in advance.

      G Offline
      G Offline
      Giles
      wrote on last edited by
      #2

      Frankesk wrote: 1. What the 'sa' UserID ? Can I use it from my app ? Administrator. Don't use this for normal stuff, as it gives complete access to the database. e.g. create\delete databases, tables, etc. Equivelant of logging into the NT Machine as the local admin. Frankesk wrote: 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Well I don't know about the MSDE extact, as I usually develop on a copy of SQL Server with the Enterprise Manager - which is a GUI front end with wizards etc to create new DB's, tables, Views all the way to new users and roles. Otherwise you may have to do it programatically. On Windows 2000, goto the Control Panel, Admin Tools, Server Extensions Admin. From the menu Add\Remove, and then add from the botton of the dialog. Choose Micorsoft Enterprise Manager. From there you can then administor the Server though the MMC pluggin. Hope this helps, Giles

      L 1 Reply Last reply
      0
      • G Giles

        Frankesk wrote: 1. What the 'sa' UserID ? Can I use it from my app ? Administrator. Don't use this for normal stuff, as it gives complete access to the database. e.g. create\delete databases, tables, etc. Equivelant of logging into the NT Machine as the local admin. Frankesk wrote: 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Well I don't know about the MSDE extact, as I usually develop on a copy of SQL Server with the Enterprise Manager - which is a GUI front end with wizards etc to create new DB's, tables, Views all the way to new users and roles. Otherwise you may have to do it programatically. On Windows 2000, goto the Control Panel, Admin Tools, Server Extensions Admin. From the menu Add\Remove, and then add from the botton of the dialog. Choose Micorsoft Enterprise Manager. From there you can then administor the Server though the MMC pluggin. Hope this helps, Giles

        L Offline
        L Offline
        Lockhart
        wrote on last edited by
        #3

        I'm going to search for the XP version of the admin extensions, if they exist. Thanks.

        1 Reply Last reply
        0
        • L Lockhart

          I'm using ADO to interface with MSDE (Microsoft SQL Server 7) but I still have some doubts: 1. What the 'sa' UserID ? Can I use it from my app ? 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Thanks in advance.

          D Offline
          D Offline
          David Salter
          wrote on last edited by
          #4

          Frankesk wrote: 1. What the 'sa' UserID ? Can I use it from my app ? This is the administrator account in SQL Server. You can use this if you want, but its probably best to create a user with the minimum set of access rights required to do what you want. Frankesk wrote: 2. How can I create new accounts (userid+password) for the SQL Servers ? (no NT accounts) I have scanned all options of the "osql.exe" utility but I have found nothing. Have a look at sp_adduser and sp_addlogin in the BOL. Dave

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups