Hi There,
I am hoping someone can help me with the following situation. I have been reading articles and googling but i cannot seem to find the answers i need.
I have two databases on SQL Azure. Both 100MB of size and both running on Standard S2. I need greater performance on both databases but i don't have budget to pay more. Please note that the usage is low, it is just i want my queries to perform faster (i have done all the fine tuning of my databases, queries and indexes that i can do). So my plan is to merge both databases to one database and move this database to a higher tier and remove the old databases (result is same price but better performance tier).
So at the moment i have Database 1 with dbo schema and dbo user, and Database 2 with dbo schema and dbo user.
In both databases everything is running under dbo so i have not configured anything with permissions or schemas or users (and my skills in this area are lacking a little bit).
Now I want to create Database 3 that has Schema A and User A and Schema B and User B. User A should be able to do everything in schema A and user B should be able to do everything in Schema B. The users should only be able to see their own schemas and not the other.
Could someone please help me with how to create my new database, schemas and users. I just want to get the new database set up. I can handle the migration of the old databases after that. I can create the new database through my portal, but then once i connect via SSMS to sql azure, i do not know the commands to create the schemas, users and ensure the correct permissions.
Any help would be appreciated.
Thanks