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
Check to see if a table has a certain value, MS Access 2003
Old address/mapping cached in Outlook clients
How do I clear memory on an HP LaserJet M2727nf
Emc Networker mminfo command
Cast Question for Crystal Reports
I/O error reported on file system /oracle/P1U aix hdisk path vio
windows 2008 MYSQL5.1 and PHP5
asp.net page to test database connectivity
How to remove automatic login from Outlook 2010
Outlook Web App (OWA) 2010 defaults to light version for specific user