TAILIEUCHUNG - MASTERING SQL SERVER 2000- P23

Tham khảo tài liệu 'mastering sql server 2000- p23', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 1120 APPENDIX A TRANSACT-SQL REFERENCE Throughout the book you ve seen examples of Transact-SQL T-SQL statements. Nearly every SQL Server operation can be performed using Transact-SQL from a graphical interface such as Query Analyzer or even from the command line using OSQL. This includes operations such as setting up jobs and alerts for which we demonstrated only the Enterprise Manager steps. In this appendix we ve presented all of the SQL statements that we discussed explicitly in this book. For each statement we include the entire syntax and a crossreference to the chapter where that statement is discussed in more depth. Creating a Database CREATE DATABASE statement Chapter 10 CREATE DATABASE database_name ON PRIMARY NAME logical_file_name FILENAME os_file_name SIZE size in MB or KB MAXSIZE maximum_size in MB or KB or UNLIMITED fill all available space FILEGROWTH growth_increment in MB or KB LOG ON NAME logical_file_name FILENAME os_file_name SIZE size in MB or KB MAXSIZE maximum_size in MB or KB or UNLIMITED FILEGROWTH growth_increment in MB or KB FOR LOAD FOR ATTACH Cursor Statements DECLARE CURSOR statement Chapter 8 DECLARE cursor_name INSENSITIVE SCROLL CURSOR FOR select_statement FOR READ ONLY UPDATE OF column_name .n DATABASE OPTIONS 1121 DECLARE cursor_name CURSOR LOCAL GLOBAL FORWARD_ONLY SCROLL STATIC KEYSET DYNAMIC FAST_FORWARD READ_ONLY SCROLL_LOCKS OPTIMISTIC TYPE_WARNING FOR select_statement FOR UPDATE OF column_name .n OPEN statement Chapter 8 OPEN GLOBAL cursor_name cursor_variable_name FETCH statement Chapter 8 FETCH NEXT PRIOR FIRST LAST ABSOLUTE n @n_variable RELATIVE n @n_variable FROM GLOBAL cursor_name @cursor_variable_name INTO @variable_name .n CLOSE statement Chapter 8 CLOSE GLOBAL cursor_name cursor_variable_name DEALLOCATE statement Chapter 8 DEALLOCATE GLOBAL cursor_name cursor_variable_name Database Options ALTER DATABASE statement Chapter 5 ALTER DATABASE database_name SET SINGLE_USER RESTRICTED_USER MULTI_USER OFFLINE ONLINE .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.