Skip to main content

Posts

Showing posts with the label sql server 2008

To create a database in SQL Server 2008

To create a database In Object Explorer, connect to an instance of the SQL Server Database Engine and then expand that instance  Right-click Databases, and then click New Database. In New Database, enter a database name. To create the database by accepting all default values, click OK; otherwise, continue with the following optional steps. To change the owner name, click (…) to select another owner. The Use full-text indexing option is always checked and dimmed because, beginning in SQL Server 2008, all user databases are full-text enabled. To change the default values of the primary data and transaction log files, in the Database files grid, click the appropriate cell and enter the new value.. To change the collation of the database, select the Options page, and then select a collation from the list. To change the recovery model, select the Options page and select a recover...

Create a database user using SQL Server Management Studio

1. In SQL Server Management Studio, open Object Explorer and expand the Databases folder. 2. Expand the database in which to create the new database user. 3. Right-click the Security folder, point to New, and then click User. 4. On the General page, enter a name for the new user in the User name box. 5. In the Login name box, enter the name of a SQL Server login to map to the database user. 6. Click OK.