YOMEDIA
ADSENSE
Tài liệu môn SQL Server 2000
101
lượt xem 14
download
lượt xem 14
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
In the Installation Definition dialog box, click Server and Client Tools, and then click Next. In the Instance Name dialog box, if the Default check box is available, you can install either the default or a named instance. If the Default check box is not available, a default instance has already been installed, and you can install only a named instance.
AMBIENT/
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
Nội dung Text: Tài liệu môn SQL Server 2000
- Appendix. SQL Server 2000 A reference of SQL Server Books Online Hoàng Hữu Việt IT Faculty, Vinh University
- Contents Installation Authentication Modes SQL Server components Database Architecture SQL Server Enterprise Manager Query Analyzer Slide 2
- Install To install Sql Server 2000 Insert the Microsoft® SQL Server™ 2000 compact disc in your CDROM drive. If the compact disc does not autorun, doubleclick Autorun.exe in the root directory of the compact disc. Select SQL Server 2000 Components. Select Install Database Server and setup prepares the SQL Server Installation Wizard. At the Welcome screen, click Next. Slide 3
- Install To install Sql Server 2000 In the Computer Name dialog box, Local Computer is the default option and the local computer name appears in the edit box. Click Next. In the Installation Selection dialog box, click Create a new instance of SQL Server, or install Client Tools, and then click Next. Follow directions on the User Information, Software License Agreement and related screens. Slide 4
- Install To install Sql Server 2000 In the Installation Definition dialog box, click Server and Client Tools, and then click Next. In the Instance Name dialog box, if the Default check box is available, you can install either the default or a named instance. If the Default check box is not available, a default instance has already been installed, and you can install only a named instance. To install the default instance, select the Default check box, and click Next. Slide 5
- Install To install Sql Server 2000 In the Setup Type dialog box, click Typical or Minimum, and then click Next. In the Service Accounts dialog box, click Local, and then click Next. In the Authentication Mode dialog box, click Mixed Mode, enter password for sa user, and then click Next. For information about Authentication modes options, see Authentication Modes. Slide 6
- Install To install Sql Server 2000 When you are finished specifying options, click Next in the Start Copying Files dialog box. In the Choose Licensing Mode dialog box, make selections according to your license agreement, and click Continue to begin the installation. In the Setup Complete dialog box, click Yes, I want to restart my computer now, and then click Finish. Slide 7
- Authentication Modes Microsoft® SQL Server™ can operate in one of two security (authentication) modes: Windows Authentication Windows Authentication mode allows a user to connect through a Microsoft Windows NT® 4.0 or Windows® 2000 user account. Mixed Mode Mixed Mode allows users to connect to an instance of SQL Server using either Windows Authentication or SQL Server Authentication. Users who connect through a Windows NT 4.0 or Windows 2000 user account can make use of trusted connections in either Windows Authentication Mode or Mixed Mode. Slide 8
- Authentication Modes Sql Server security Slide 9
- Starting SQL Server Before you log in to an instance of Microsoft ® SQL Server™, you need to start an instance of SQL Server. To start Sql Server using the SQL Server Service Rightclick on Sql Server Icon in taskbar Click MSSQL Server - Start After starting the SQL Server service, users can establish new connections to the server. Slide 10
- SQL Server Components SQL Server Enterprise Manager SQL Server Enterprise Manager is the primary administrative tool for SQL Server and provides an MMCcompliant user interface that allows users to: Define groups of SQL Server instances. Create and administer all SQL Server databases, objects, logins, users, and permissions in each registered server. SQL Query Analyzer SQL Query Analyzer is a graphical user interface for designing and testing TransactSQL statements, batches, and scripts interactively. Slide 11
- Database Architecture Microsoft® SQL Server™ 2000 data is stored in databases. The data in a database is organized into the logical components visible to users. A database is also physically implemented as two or more files on disk. When using a database, you work primarily with the logical components such as tables, views, procedures, and users. The physical implementation of files is largely transparent. Typically, only the database administrator needs to work with the physical implementation. Slide 12
- Database Architecture Database Slide 13
- Database Architecture Physical Database Files SQL Server 2000 databases have three types of files: Primary data files: This file contains the startup information for the database and is used to store data. Every database has one primary data file. The recommended file name extension for primary data files is .mdf. Slide 14
- Database Architecture Physical Database Files SQL Server 2000 databases files (cont…) Secondary data files: Secondary data files comprise all of the data files other than the primary data file. Some databases may not have any secondary data files, while others have multiple secondary data files. The recommended file name extension for secondary data files is .ndf. Log files: Log files hold all of the log information used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is .ldf. Slide 15
- Database Architecture Each instance of SQL Server has four system databases (master, model, tempdb, and msdb) and one or more user databases. Some organizations have only one user database, containing all the data for their organization. The master database records all of the system level information for a SQL Server system. It records all login accounts and all system configuration settings. master is the database that records the existence of all other databases, including the location of the database files. master records the initialization information for SQL Server; always have a recent backup of master available Slide 16
- Sql Server Enterprise Manager To create a database Expand a server group, and then expand a server. Rightclick Databases, and then click New Database. Enter a name for the new database. The primary database and transaction log files are created using the database name you specified as the prefix, for example newdb_Data.mdf and newwdb_Log.ldf. Slide 17
- Sql Server Enterprise Manager To create a database To change the default values for the new primary database file, click the Data File tab. To change the defaults for the new transaction log file, click the Transaction Log tab. To change the default values provided in the File name, Location, Initial size (MB), and File group (not applicable for the transaction log) columns, click the appropriate cell to change and enter the new value. Slide 18
- Sql Server Enterprise Manager To create a database To specify how the file should grow, select from these options: To allow the currently selected file to grow as more data space is needed, select Automatically grow file. To specify that the file should grow by fixed increments, select In megabytes and specify a value. To specify that the file should grow by a percentage of the current file size, select By percent and specify a value. Slide 19
- Sql Server Enterprise Manager To create a database To specify the file size limit, select from these options: To allow the file to grow as much as necessary, select Unrestricted filegrowth. To specify the maximum size the file should be allowed to grow to, select Restrict filegrowth (MB) and specify a value. Click Ok button to finish. Slide 20
ADSENSE
CÓ THỂ BẠN MUỐN DOWNLOAD
Thêm tài liệu vào bộ sưu tập có sẵn:
Báo xấu
LAVA
AANETWORK
TRỢ GIÚP
HỖ TRỢ KHÁCH HÀNG
Chịu trách nhiệm nội dung:
Nguyễn Công Hà - Giám đốc Công ty TNHH TÀI LIỆU TRỰC TUYẾN VI NA
LIÊN HỆ
Địa chỉ: P402, 54A Nơ Trang Long, Phường 14, Q.Bình Thạnh, TP.HCM
Hotline: 093 303 0098
Email: support@tailieu.vn