Presentation is loading. Please wait.

Presentation is loading. Please wait.

10.07.2008BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005.

Similar presentations


Presentation on theme: "10.07.2008BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005."— Presentation transcript:

1 10.07.2008BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005

2 10.07.2008BSG Group - Dau Anh Trong2 Introduction about MS SQL Server 2005 What’s new ? Installation Connect to Database Engine Create Database Backup and restore Database Create user and grant permission for user. References

3 10.07.2008BSG Group - Dau Anh Trong3 What’s new ? SQL Server Management Studio : providing one integrated management console to monitor and manage the SQL Server relational database as well as SQL Server 2005’s services Replication Scalability Query Notification Service Broker Business Intelligence : make better decisions faster More and detail at References

4 10.07.2008BSG Group - Dau Anh Trong4 Installation

5 10.07.2008BSG Group - Dau Anh Trong5 Installation First, installing MS SQL Server Update Advisor. Click “Next” and “Finish” to complete install process.

6 10.07.2008BSG Group - Dau Anh Trong6 Installation Second, installing MS SQL Server 2005 and its components. Select all component (Recommended)

7 10.07.2008BSG Group - Dau Anh Trong7 Installation Select “Default instance” and click Next

8 10.07.2008BSG Group - Dau Anh Trong8 Installation  Select “Use the build-in System account” and choose “Local System” in the drop down list.  We must select SQL Server Agent (very important)

9 10.07.2008BSG Group - Dau Anh Trong9 Installation Select “Mixed Mode” option so that we can connect to DataBaseEngine through Windows accounts and SQL Accounts

10 10.07.2008BSG Group - Dau Anh Trong10 Installation Let everything is default.

11 10.07.2008BSG Group - Dau Anh Trong11 Installation Impossible to change options

12 10.07.2008BSG Group - Dau Anh Trong12 Installation Don’t check any options unless you want to waste time

13 10.07.2008BSG Group - Dau Anh Trong13 Installation Installation process, you can take a coffee or go to sleep. Because it’s very long and slow. After all, click “Finish” to complete installation

14 10.07.2008BSG Group - Dau Anh Trong14 Connect to Database Engine  Click on “Connect” button on the top left and choose “Database Engine …”  “Server name” is “.” for localhost  Authentication type is SQL Server Authentication”.  Fill “Login” and “Password”. “Login” should be “sa” (SQL top-level user)  Don’t forget check “Remember password”, and then click on “Connect”

15 10.07.2008BSG Group - Dau Anh Trong15 Create Database Right click on “Databases” nodes and choose “New Database …”. Then fill database name and click OK.

16 10.07.2008BSG Group - Dau Anh Trong16 Backup Database Backup : right click on Database name. Choose Tasks  Backup. Click on “Add” button to browse to backup file.

17 10.07.2008BSG Group - Dau Anh Trong17 Backup Database Browse and name database file (extension is “.bak” for recommend). Then click “OK” to come back to “Back Up Database” dialog, click “OK” again to complete backup database.

18 10.07.2008BSG Group - Dau Anh Trong18 Restore Database Right click on Database name, choose “Task”  “Restore”  “Database…”. Select “From device” option and browse to backup file.

19 10.07.2008BSG Group - Dau Anh Trong19 Restore Database Choose your backup file by clicking “Add” button and click “OK” button.

20 10.07.2008BSG Group - Dau Anh Trong20 Restore Database Check on your selected backup file. And then change to “Options” tab.

21 10.07.2008BSG Group - Dau Anh Trong21 Restore Database Check “Overwrite existing database”. Pay attention to “Original File Name”, it should point to “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA” folder. Then click “OK” to complete.

22 10.07.2008BSG Group - Dau Anh Trong22 Create user Fill username and password. Select user type is “SQL Server authentication”. Uncheck “Enforce password policy” and choose “Default database” for the user (optional)

23 10.07.2008BSG Group - Dau Anh Trong23 Grant permission for user Select “Security” node  “Login” node and double click on the username. In “Login Properties” dialog, select “User Mapping”, check on Database name and check on “db_owner” option. Then click “OK”. Now the user can access the database and manipulate on it.

24 10.07.2008BSG Group - Dau Anh Trong24 References http://msdn.microsoft.com/en-us/library/bb418498.aspx http://www.microsoft.com/sql/prodinfo/overview/whats-new-in-sqlserver2005.mspx http://msdn.microsoft.com/en-us/library/ms170363.aspx

25 10.07.2008BSG Group - Dau Anh Trong25 Thanks your attention BSG Group


Download ppt "10.07.2008BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005."

Similar presentations


Ads by Google