I would like to create a new user account for a database, wondering if I can use some stored procedure or the like to create it based on the privileges of another users (on tables, views, stored procedures and the like).
Any customized stored Procedures ? Hints/tips/directions are welcome!