SQL Server 2000 Stored Procedure Programming phần 2

Trừ khi được cho phép theo Đạo luật Bản quyền Hoa Kỳ năm 1976, không có phần nào của ấn phẩm này có thể được sao chép hoặc phân phối dưới bất kỳ hình thức nào hoặc bằng bất cứ phương tiện nào, hoặc được lưu trữ trong một hệ thống cơ sở dữ liệu hoặc thu hồi mà không cần sự cho phép trước bằng văn bản của nhà xuất bản. | 60 SQL Server 2000 Stored Procedure Programming 4. Click Next and the wizard prompts you to select the database 5. Click Next and the program presents you with a list of tables in the database. The list contains three additional columns to enable you to specify which stored procedures you want to create. It is possible to create stored procedures for inserting deleting and updating records. 61 Chapter 2 Relational Database Concepts and the SQL Server Environment 6. Mark a couple of boxes and click Next. The wizard creates stored procedures for the specified operations. To record them in the database you need to click Finish. You can also change their names or edit their contents. 7. Select a stored procedure and click Edit. The wizard displays a list of the fields in the table. The Select column controls which fields will be included in the stored procedure. In the case of stored procedures for Update and Delete operations it 62 SQL Server 2000 Stored Procedure Programming is possible to specify which field will be used in a Where clause as a key to filter records. 8. Click Edit SQL and the program displays the code for the stored procedure. Here you can change generated code. It is also possible to change the generated code after the stored procedure has been recorded in the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã 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.