What's the query to set a login user as db_owner during the creation of database. Following is the set of queries, which I'm using right now,
Create database Test1; ALTER AUTHORIZATION ON DATABASE::Test1 TO [DEVELOPMENT\d-testuser];
This servers my purpose, but here I have firstly created a database with default db_owner and then altered it. I need a query which will select [DEVELOPMENT\d-testuser] as my database owner during the creation of database itself.