how to add user to database in sql server code example Example: CRETE DATABASE AND ADD USER GRANT ALL PRIVILEGES ON DATABASE guru99 TO mytest;