TAILIEUCHUNG - Oracle PL/SQL Language Pocket Reference- P10

Oracle PL/SQL Language Pocket Reference- P10: This pocket guide features quick-reference information to help you use Oracle's PL/SQL language. It includes coverage of PL/SQL features in the newest version of Oracle, Oracle8i. It is a companion to Steven Feuerstein and Bill Pribyl's bestselling Oracle PL/SQL Programming. Updated for Oracle8, that large volume (nearly 1,000 pages) fills a huge gap in the Oracle market, providing developers with a single, comprehensive guide to building applications with PL/SQL and building them the right way. . | Anchor declarations of variables back to the database tables and columns they represent. Whenever you declare a variable which has anything to do with a database element use the TYPE or ROWTYPE declaration attributes to define the datatype of those structures. If those database elements change your compiled code is discarded. When recompiled the changes are automatically applied to your code. Always fetch from an explicit cursor into a record declared with ROWTYPE as opposed to individual variables. Assuming that you followed my last piece of advice that cursor is declared in a package. That cursor may therefore be changed without your knowledge. Suppose that another expression is added to the SELECT list. Your compiled code is then marked as being invalid. If you fetched into a record however upon recompiliation that record will take on the new structure of the cursor. Encapsulate access to your data structures within packages. I recommend for example that you never repeat a line of SQL in your application that all SQL statements be hidden behind a package interface and that most developers never write any SQL at all. They can simply call the appropriate package procedure or function or open the appropriate package cursor. If they don t find what they need they ask the owner of the package who is intimate with the complex details of the data structure to add or change an element. This last suggestion will have the greatest impact on your applications but it is also among the most difficult to implement. To accomplish this goal always execute SQL statements through a procedural interface you will want to generate packages automatically for a table or view. This is the only way to obtain the consistency and code quality required for this segment of your application code. By the time this second edition is published you should be able to choose from several different package generators. You can also build your own. Center All Development Around Packages Little

TÀI LIỆU MỚI ĐĂNG
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.