Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Object: User [TD\username]. CREATE USER [TD\username] FOR LOGIN [TD\usernam] WITH DEFAULT_SCHEMA=[dbo]

$
0
0

I have tried to generate scripts from a database on SQL Server 2008 to a file. When I opened the script file, I saw the following

CREATE USER [TD\MyName] FOR LOGIN [TD\MyName] WITH DEFAULT_SCHEMA=[db_accessadmin]

CREATE USER [TD\Co-workerName] FOR LOGIN [TD\Co_workerName] WITH DEFAULT_SCHEMA=[dbo]

And then other t-sql  statements for creating tables as usual.

My question is why it shows up

1/. not only my name, but also my co-worker name?
2/. for me, DEFAULT_SCHEMA=[db_accessadmin] but for my co-worker, DEFAULT_SCHEMA=[dbo]?

Thank you in advance for your help.

 


Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>