I had trouble understanding some basic concepts in SQL Server 2008. Until recently, I didn't have to worry about security, users, schemas, etc.
What is the difference between username and user?
How do they relate to roles
What is a circuit? (Until I started reading about security, I thought the schema was just a database design!)
I would like to create a script to create my users, logins, especially when IIS tries to connect to SQL Server as an application pool. Can someone point me towards some examples of scenarios of this kind?
Thanks in advance!
PS:
I tried to read some MSDN articles about this material and got a little lost, for example, it looked from my depth:
http://msdn.microsoft.com/en-us/library/ms190387.aspx
bplus
source share