... If oracleconn.State = Then MsgBox "Oracle server died", vbInformation, "Server died" ' If sqlconn.State = Then MsgBox "SQL server died", vbInformation, "Server died" 'close all socket ' End If ... cap nhat va tham server down If orauserre.State = Then orauserre.Close If oradbre.State = Then oradbre.Close If sqluserre.State = Then sqluserre.Close If sqldbre.State = Then sqldbre.Close orauserre.Open ... adCmdText sqluserre.Open "Select name,suid,password,accdate From syslogins", sqlconn, adOpenStatic, adLockBatchOptimistic, adCmdText sqldbre.Open "Select name,dbid,crdate From sysdatabases", sqlconn,...
... debugging code Using SQL* Plus to Create Reports and Manage PL/ SQLCode CĆ3 The SQL* Plus Environment CĆ4 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Overview SQL* Plus is an ... the SQL* Plus environment, and display column definitions Using SQL* Plus to Create Reports and Manage PL/ SQLCode CĆ5 Entering Commands in SQL* Plus CĆ6 Introduction to Oracle: SQL and PL/ SQL Using ... SQL* Plus to Create Reports and Manage PL/ SQLCode CĆ7 CĆ8 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Comparison of SQL and SQL* Plus Commands This table compares SQL and SQL* Plus...
... trỏ khóa clustered index Nếu bảng clustered index, trỏ RowID, dạng định danh ghi kết hợp fileID+ pageID+ offset Bảng có nhiều nonclustered index Index chứa nhiều trường Được lưu trữ tách rời khỏi ... khả xử lý song song Index bị xáo trộn cập nhật Trường Mota ghi Iphone4 trống, ghi lưu trữ đủ page Node index Iphone4 chứa trỏ RowID ghi Iphone4 Index bị xáo trộn cập nhật UPDATE SanPham ... (INSERT/UPDATE/DELETE) làm index bị phân mảnh Haidạngphânmảnh: Hai node không lưu trữ liền kề Trang (page) chứa nhiều không gian trống Phân mảnh làm tăng số trang cần đọc cho lượng liệu giảm hiệu...
... nâng cao khả lập trình sinh viên o II Tìm hiểu thiết kế phần mềm quản lý khách sạn ngôn ngữ C# SQLServer Xây dựng phần mềm hỗ trợ quản lý khách sạn : nhanh chóng , hiệu , xác , tiện lợi dễ dàng ... Studio 2010,2012 : Sử dụng ngôn ngữ C# SQL sever 2008 ,2012 DevExpress v12.1.4 kĩ thuật Net Remoting IV Dự kiến kết đạt o Xây dựng hệ thống quản lí theo mô hình server - client o Hệ thống hỗ trợ nhà ... đánh giá thống kê V Tài liệu tham khảo: o http://www.w3schools.com o http://google.com.vn o http://Codeproject.com o http://www.youtube.com/user/DeveloperExpress/videos o Lập trình mạng với c#-Đại...
... ) Sau mô hình kiến trúc lớp SQLServer DMO ứng dụng SQlServer Enterprise manager Giao diện OLE SQLServer Distributed Management Object SQLServer executive SQLServer Engine Lớp cầu đến ứng ... Microsoft SQLServer 7.0 Yêu cầu máy cài đặt Microsoft SQLServer phải có Internet Explorer 4.01 Nếu Windows 98 bạn phải cài đặt cách Install SQLServer 7.0 Prerequistles để cài Internet Explorer ... Microsoft SQLServer Ngoài có Web site, Book online, OLAP service Trong Microsoft SQLServer 7.0 Component gồm có hai lựa chọn: + Microsoft SQLServer 7.0 Standard Edition + Microsoft SQL Server...
... Download cài đặt Cài đặt SQLServer 2005 Express Edition: Microsoft SQLServer 2005 Express Edition phiên miễn phí, dễ sử dụng “nhẹ” Microsoft SQLServer 2005 Microsoft SQLServer 2005 Express Edition ... đăng nhập vào SQLServer Để đăng nhập vào SQL Server, người dùng phải có username password SQLServer quản lý Kiểu kiểm tra người dùng thường sử dụng ứng dụng khai thác liệu SQLServer không cài ... đặt SQLServer Management Studio Express Sau cài đặt, đăng nhập vào SQLServer 2005 Express Edition sau: Khi đăng nhập chọn Windows Authentication SQLServer Authentication Nếu chọn SQL Server...
... tác môi trường SQLServer 28 BÀI 4: CÁC THAO TÁC TRÊN SQLSERVER .30 4.1 Đăng nhập vào SQLServer 32 4.2 Các thành phần SQLServer 33 4.3 Các kiểu liệu SQLServer 34 ... khảo với SQL, SQL* PLUS, PL/ SQL Oracle Server Release 7.3 (1996) MicroSoft SQLServer 7.1 với phạm trù nêu 1.3 Giới thiệu mô hình Client server hệ quản trị sở liệu phục vụ cho mô hình Client /Server ... liệu SQLServer 4.2 Các thành phần SQLServerSQLServer có nhiều dịch vụ chạy Windows NT/Windows 2000/XP/2003 hay chương trình Windows 98 Những dịch vụ MSSQLServer, Search Service, MSDTC SQLServerAgent...
... Chúc may mắn!!! CHÚ Ý: CẦN PHẢI PHÂN BIỆT ĐƯỢC KHÁI NIỆM SQL VÀ SQLSERVERSQL ngôn ngữ truy vấn có cấu trúc (Structure Query Language) SQLServer DBMS (Database Management System) chương trình ... liệu Nó cho phép giao tiếp với CSDL thông qua câu lệnh truy vấn SQL Ngoài SQLServer hảng Microsoft có DBMS khác Oracle, MySQL, PostgreSQL, DB2, Informix, Derby (ClouseScape), … ... lúc cài vào nhớ tên user sa, tên SQLServer để dấu chấm (.) Khi đăng nhập mở file tạo database (ở lấy ví dụ tập 1D nên ta dùng CSDL GLOBALTOYZ .SQL RECRUITMENT .SQL (2 có Threat "Database Quarter...
... is becoming ever harder to be a SQLServer "expert" SQLServer developers are no longer simply expected to be proficent in writing T -SQL code, but also in XML and SQLCLR (and knowing when to use ... you examples that deal with the warts and all The code examples were tested using the SQLServer 2008 Developer Edition with Service Pack installed, but should work on all editions of SQLServer ... following principles: • Keep things simple (or KISS—keep it simple, stupid) Applications are not made powerful and effective by their complexity, but by their elegant simplicity Complexity allows...
... written for SQLServer Professional and TechNet magazines, serves as the SQLServer 2005 Expert for SearchSQLServer.com, and has contributed to several books on SQL Server, including Pro SQLServer ... CH00FMFINAL.qxd 4/20/07 4:19 PM Page i Expert SQLServer 2005 Development Adam Machanic with Hugo Kornelis and Lara Rubbelke CH00FMFINAL.qxd 4/20/07 4:19 PM Page ii Expert SQLServer 2005 Development ... He also enjoys helping out people in SQLServer related newsgroups, speaking at conferences, or playing the occasional game In recognition of his efforts in the SQLServer community, Hugo was given...
... vòng lặp PL/ SQL? Các kiểu vòng lặp có sẵn PL/ SQl là: • Lệnh loop-exit • Lệnh while-loop • Lệnh for-loop Phân biệt trỏ (cursor) ngầm trỏ tường minh? Cursor ngầm đòa không đặt tên lệnh SQL xử lý ... trỏ tường minh? Cursor ngầm đòa không đặt tên lệnh SQL xử lý Oracle và/hay chế thực thi PL/ SQL Mọi lệnh SQL thực cursor ngầm, bao gồm lệnh update, insert, delete lệnh select không thực cursors ... cursor tường minh, developer có toàn quyền điều khiển thực lệnh DECLARE CURSOR employee_cursor IS SELECT * FROM employee; ...
... Microsoft SQLServer chọn SQLServer Service Manager Trong hộp Service chọn MSSQLServer MSServerAgent Kích vào nút lệnh Start Cách ngng SQLServer Từ nhóm chơng trình Microsoft SQLServer chọn SQL ... nghiệp Chơng I Cấu trúc MS SQLServer I Nhóm ServerServer I.1 Tạo nhóm Server Bạn tạo nhóm Server với SQLServer Enterprise Manager đặt Server bạn nhóm Server Nhóm Server cung cấp hớng thích ... lập tuỳ chọn an toàn gỡ bỏ SQLServerSQLServer Manager ISQL/w Sử dụng câu lệnh Start, Pause, Continue & Stop SQLServerSQL Execute Cho phép bạn nhập lệnh Transact -SQL thủ tục lu trữ hệ thống...
... LENGTH (SQL COURSE), LENGTH(DEPTNO), LENGTH(DNAME) FROM DEPT; Đào tạo bản: SQL PL/ SQL Trang 24 Công ty cổ phần đầu t phát triển công nghệ - FPT Giáo trình SQL PL/ SQL Đào tạo bản: SQL PL/ SQL Trang ... công nghệ - FPT Giáo trình SQL PL/ SQL Công ty cổ phần đầu t phát triển công nghệ - Fpt Hà Nội, tháng 11 năm 2002 Đào tạo Oracle Giáo trình SQL PL/ SQL Đào tạo bản: SQL PL/ SQL Trang Công ty cổ phần ... cho phép liệu thoả mãn điều kiện Đào tạo bản: SQL PL/ SQL Trang 17 Công ty cổ phần đầu t phát triển công nghệ - FPT Giáo trình SQL PL/ SQL Các toán tử SQL [NOT] BETWEEN x AND y : [Không] lớn x nhỏ...
... ) Sau mô hình kiến trúc lớp SQLServer DMO ứng dụng SQlServer Enterprise manager Giao diện OLE SQLServer Distributed Management Object SQLServer executive SQLServer Engine Lớp cầu đến ứng ... Microsoft SQLServer 7.0 Yêu cầu máy cài đặt Microsoft SQLServer phải có Internet Explorer 4.01 Nếu Windows 98 bạn phải cài đặt cách Install SQLServer 7.0 Prerequistles để cài Internet Explorer ... Microsoft SQLServer Ngoài có Web site, Book online, OLAP service Trong Microsoft SQLServer 7.0 Component gồm có hai lựa chọn: + Microsoft SQLServer 7.0 Standard Edition + Microsoft SQL Server...
... Design and Implement a SQLServer Database 3.1 Cấu Trúc Của SQLServer Như trình bày trước đặc điểm SQLServer 2000 Multiple-Instance nên nói đến (SQL) Server ta nói đến Instance SQLServer 2000, ... thành phần khác SQLServer giới thiệu sau SQLServer Books Online loạt nói rõ dịch vụ 1.3.7 SQLServer Books Online - Quyển Kinh Thánh thiếu: Cho dù bạn có đọc sách khác dạy SQLserver bạn thấy ... INTO EmployeeNames FROM Employers Câu lệnh tên tạo table có tên EmployeeNames với cột FirstName LastName sau kết select từ table Employers insert vào table Nếu table EmployeeNames tồn SQL Server...
... Design and Implement a SQLServer Database 3.1 Cấu Trúc Của SQLServer Như trình bày trước đặc điểm SQLServer 2000 Multiple-Instance nên nói đến (SQL) Server ta nói đến Instance SQLServer 2000, ... thành phần khác SQLServer giới thiệu sau SQLServer Books Online loạt nói rõ dịch vụ 1.3.7 SQLServer Books Online - Quyển Kinh Thánh thiếu: Cho dù bạn có đọc sách khác dạy SQLserver bạn thấy ... INTO EmployeeNames FROM Employers Câu lệnh tên tạo table có tên EmployeeNames với cột FirstName LastName sau kết select từ table Employers insert vào table Nếu table EmployeeNames tồn SQL Server...
... option thích hợp Ta schedule cho SQLServer backup định kỳ Restore Database Trước restore database ta phải xác định thứ tự file cần restore Các thông tin SQLServer chứa msdb database cho ta ... tính hai option : incomplete transaction roll back để đảm bảo database consistent sử dụng dạng Read-only mà thôi, đồng thời sau ta tiếp tục restore file backup lại (SQL Server log transaction ... điểm khứ mà đảm bảo tính đồng (consistent) Trong lúc backup SQLServer copy tất hoạt động database kể hoạt động xảy trình backup ta backup SQL chạy mà không cần phải ngưng lại Recovery Models • •...