1. Gioi thieu va cai dat SQL SERVER 2005 express

15 150 0
1. Gioi thieu va cai dat SQL SERVER 2005 express

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

1. Gioi thieu va cai dat SQL SERVER 2005 express tài liệu, giáo án, bài giảng , luận văn, luận án, đồ án, bài tập lớn về...

Giới thiệu Giới thiệu SQL SERVER 2005 Express Edition   TRẦN THỊ BẠCH HUỆ SQL Server 2005 hệ quản trị CSDL quan hệ (RDBMS – Relational Database Management System) sử dụng TransactSQL để trao đổi liệu client server Một số hệ quản trị khác Oracle, Access, MySQL,… Nội dung     Giới thiệu Cài đặt Đăng nhập SQL Server 2005 Express Một số thao tác – – –  Các phiên SQL Server 2005: – – – – Tạo database, tạo bảng Xoá bảng, xoá database Mở query editor để viết câu lệnh SQL – – Enterprise Standard Workgroup Express Developer Compact  Enterprise: – – –  Chỉ hỗ trợ cho hệ điều hành Windows Server Bao gồm tất đặc tính SQL Server 2005 có khả xử lý giao dịch kinh doanh trực tuyến ứng dụng data warehousing Hỗ trợ khơng giới hạn số lượng CPU, kích thước Database, RAM (nhưng tùy thuộc vào kích thước RAM tối đa mà HĐH hỗ trợ) hỗ trợ hệ thống 64 bit Workgroup: – – Bao gồm tính cốt lõi SQL Server Đây giải pháp quản trị liệu cho tổ chức nhỏ cần có CSDL khơng giới hạn kích thước số lượng người dùng Hỗ trợ CPU tối đa 3GB RAM   Standard: – – – Express: – Chủ yếu hỗ trợ cho hệ điều hành Windows Server Bao gồm tính cần thiết cho giải pháp thương mại điện tử, data warehousing line-of-bussiness Hỗ trợ tối đa CPU – Bản miễn phí, dễ sử dụng, nhẹ Bao gồm số tính SQL Server 2005 Reporting Services SQL Server 2005 Management Studio Express Hỗ trợ tối đa 1CPU, 1GB RAM kích thước database giới hạn 4GB Tham khảo chi tiết link sau (ngày cung cấp link 9/5/2013): http://technet.microsoft.com/en-US/library/ms345154(v=sql.90).aspx  Developer (có thể sử dụng Windows XP) – –  Windows Server 2003 Web Edition SP1 Windows Small Business Server 2003 SP cao Vista Home Basic phiên cao (SQL Express SP1 SQL Express Advanced SP2) Bao gồm tất tính phiên kinh doanh (Enterprise Edition) Được dùng chủ yếu cho việc phát triển (development), test demo Compact – – Bản miễn phí, dễ sử dụng Dành cho nhà phát triển xây dựng ứng dụng Windows Desktop di động, chạy tất Windows Memory Tối thiểu 192 MB RAM; tốt 512MB trở lên Hard Disk 350 MB ổ cứng cho cài đặt 425 MB ổ cứng co việc cài SQL Server Books Online, SQL Server Mobile Books Online CSDL mẫu (sample database) Drive CD-ROM DVD-ROM 11 Cài đặt SQL Server 2005 Express  10 Các yêu cầu hệ thống Display Super VGA (1,024x768) cao 32 bit Other devices Mouse, Keyboard Processor Pentium III 600-megahertz (MHz) cao Đề nghị: 1GHz cao Framework Trước cài SQL Server 2005 Express, cần phải cài NET Framework 2.0 trước Microsoft Internet Explorer 6.0 SP1 cao Hệ điều hành (Operating System) Windows XP Service Pack (SP) cao Windows 2000 Professional SP4 Windows 2000 Server SP cao Windows Server 2003 Standard, Enterprise, Datacenter editions SP cao Các yêu cầu khác (other requirements) Tham khảo link sau (ngày cung cấp link 9/5/2013): http://technet.microsoft.com/en-US/library/cc917692.aspx 12  Các bước cài đặt SQL Server Express Các bước thực slide sau lấy từ link sau (ngày truy cập 9/5/2013) http://technet.microsoft.com/enUS/library/ms143722(v=SQL.90).aspx) 15 13   14 Step 1: To begin installation, double-click sqlexpr.exe Step 2: On the End User License Agreement page, read the license agreement, and then select I accept the licensing terms and conditions check box Click Next  Step 3: SQL Server Component Update runs, installing the software required prior to installing SQL Server Express Click Next 16 17  18 19 Step 4: The Welcome to the Microsoft SQL Server Installation Wizard page appears Click Next  Step 5: On the System Configuration Check page, the computer is scanned for potential installation problems To interrupt the scan, click Stop To proceed with setup after the scan completes, click Continue 20  Step 6: On the Registration Information page, enter information in the Name and Company text boxes Click Next – – 21 Because SQL Server Express is free, there is no Product Key text box on this page If you select the Hide advanced configuration options check box, the Service Account, Collation Settings, Instance Name, and User Instances pages not appear during setup 23 22 24  Step 7: On the Feature selection page, select the program features to install and click Next 27 25  26 Step 8: On the Instance Name page, select a Default instance or a Named instance for your installation If you select Default instance, an existing default instance will be upgraded If you select Named Instance, specify an instance name or the default named instance of SQLExpress is used Click Next 28 29  Step 9: The Service Account page lets you assign local system account or a domain user account to SQL Server service This page does not appear if you select the Hide advanced configuration options check box – – 30 31  Step 10: On the Authentication Mode page, specify the security mode used to connect to your instance of SQL Server – Select Use a Local System account that does not require a password to connect to SQL Server on the same computer, and then click Next Select Use a Domain User account, enter the Username, Password, and the Domain name, and then click Next – If you select Windows Authentication, Setup creates an sa account that is disabled by default If you select Mixed Mode Authentication you must set strong passwords for all SQL Server logins Enter and confirm a strong sa logon password Click Next 32 33  34  Step 13: On the Error and Usage Report Setting page, select whether to turn on error reporting and usage reporting for SQL Server and its components By default, error reporting is turned on To turn off error reporting, clear the check box Click Next  Step 14: On the Ready to Install page, click Install to finish installing SQL Server 35 Step 12: On the User Instances page, specify if you want to generate a separate instance of the Database Engine for nonadministrator users By default, user instance functionality is enabled To turn off user instances, clear the check box This page does not appear if you select the Hide advanced configuration options check box Click Next 36 37  38 39 Step 15: On the Setup Progress page, you can monitor installation progress as setup proceeds Click Next  Step 16: On the Completing the Microsoft SQL Server Installation Wizard page, you can view the setup summary log by clicking the link provided on this page To complete the SQL Server Installation Wizard, click Finish 40 10 41 43 Đăng nhập SQL Server 2005 Express    Khởi động SQL Server Management Studio Express Server name: Đã điền sẵn Authentication: Có thể chọn: – –  42   Nếu q trình cài đặt khơng cho phép SQL Server kích hoạt khởi động máy, bấm nút Connect gây lỗi Khắc phục: – Windows Authentication SQL Server Authentication: Phải nhập password (được thiết lập trình cài đặt) –  Nhấn nút Connect (tham khảo hình slide sau) Start | Run | gõ services.msc | enter Nhấp đúp vào SQL Server (SQLExpress), chọn Automatic combo box Startup | Apply | Start | OK Giao diện sau đăng nhập thành công slide sau: 44 11 Tạo database 45 47 Một số thao tác  Một số thao tác – – – – 46 Tạo database, tạo bảng Nhập liệu vào bảng Xoá bảng, xoá database Mở query editor để viết câu lệnh SQL 48 12 49 Tạo bảng 50 51 • Save bảng 52 13 53 55 Nhập liệu vào bảng  Xoá bảng, xoá database (DB) Tham khảo slide sau   54 Nhắp phải chuột lên bảng hay DB cần xoá | chọn Delete | OK Trong trường hợp xoá DB, nên check vào mục Close existing connections Khi SQL Server 2005 ngắt tất kết nối vào CSDL việc xố khơng gây lỗi 56 14 Mở query editor để viết câu lệnh SQL   Hết Các bước tạo query (tham khảo slide sau) Chú ý: Câu lệnh SQL có tác dụng CSDL chọn Combo box Do cần ý lựa chọn CSDL cần tương tác 57 59 58 15 ... nhập SQL Server 2005 Express    Khởi động SQL Server Management Studio Express Server name: Đã điền sẵn Authentication: Có thể chọn: – –  42   Nếu q trình cài đặt khơng cho phép SQL Server. .. đặt 425 MB ổ cứng co việc cài SQL Server Books Online, SQL Server Mobile Books Online CSDL mẫu (sample database) Drive CD-ROM DVD-ROM 11 Cài đặt SQL Server 2005 Express  10 Các yêu cầu hệ thống... http://technet.microsoft.com/en-US/library/ms345154(v =sql. 90).aspx  Developer (có thể sử dụng Windows XP) – –  Windows Server 2003 Web Edition SP1 Windows Small Business Server 2003 SP cao Vista Home Basic phiên cao (SQL Express SP1 SQL Express

Ngày đăng: 18/12/2017, 20:19

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan