Creating a default user

  • Hi there

    We have an admin user who we need to create every time a database is created. Is there a way of automating this so each time a database is created this designated user is always added to that database?

    Thanks

    Mark

  • Not that I know of. You need to add the user.

    A good reason to have a script to create database instead of using the GUI. Let someone change parameters at the beginning (path, size, etc) and have the CREATE USER at the bottom of the script.

  • Thanks for that I had a search all over and couldn't find an answer so thought I would post this.

    Thanks for the quick reply.

    🙂

  • If you create the user in the Model database, it will be created in every new database afterward.

    Greg

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

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