Microsoft
Software
Hardware
Network
Question : creating user in default DB (from Login creation)
in the attached code, is it possible to create the user also in the same command, without using a CREATE USER Command separately, because we specify the database for which we want the login to be used as an user?
By telling Default DB, it does not assume that the user should be created for the Login for that DB.
thanks
1:
CREATE LOGIN [JJWIM] WITH PASSWORD=N'password1', DEFAULT_DATABASE=[tblTracker]
Answer : creating user in default DB (from Login creation)
Default_Database only tells SQL where to point the user if a database isn't specified in the connection.
You will still have to do a CREATE USER. It the only way.
Random Solutions
jquery set value of hidden form field
Virtual Data Recovery Error
SQL Query help
Loop through Months Of Year to pop ddl
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A
override err.raise?
How to run app on local machine and display results in web page
Mouse wheel action on scroller
How can I rotate a video?
How come when I do a copy run start, my config is always gone after a reload???