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
Dreamweaver deployment view questions.
Grab last two lab results
Strange SQL Error
Sonicwall rule to block DHCP traffic between two site-to-site
HP Dataprotector error "Automatic DR information could not be collected"
Cisco ASA 5505 with AIP-SSC-5 card
Unable to Search Empty Folders
Need solution to convert Java 1.6 application into C# project
Secondary namespace in WSDL
Check colum A for names in the name matches a sheet name in any workbook then copy to the sheet where we are quering from.