Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 create Database , user & grant previlages

Author  Topic 

studyy
Starting Member

16 Posts

Posted - 2010-05-15 : 14:09:40
Hi Friends

I want sql command to create Database.

then i want to create user thru sql command

& grant different access like read write alter etc using sql only.

let me know is it possible ?

Thanks


visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-05-16 : 08:00:22
its possible

look for syntax of create database,create user and grant statements on books online

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -