SQL server 2005 - Any one have any idea?, i want to write the script so tuser have access that new c
        Posted  
        
            by Paresh
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Paresh
        
        
        
        Published on 2010-04-01T09:31:26Z
        Indexed on 
            2010/04/01
            9:33 UTC
        
        
        Read the original article
        Hit count: 363
        
i have created one user named tuser with create database rights in SQL server 2005. and given the 'db_owner' database role of master and msdb database to tuser .
From this user login when i run the script for create database then it will create new database. But tuser don't have access that newly created database generated from script.
Any one have any idea?, i want to write the script so tuser have access that new created database after creation and can have add user permission of newly created database.
© Stack Overflow or respective owner