TAILIEUCHUNG - Oracle PL/SQL Language Pocket Reference- P18

Oracle PL/SQL Language Pocket Reference- P18: 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. . | END The total_cost function uses net_profit. FUNCTION total_cost . . . RETURN NUMBER IS BEGIN IF net_profit . . . 0 THEN RETURN 0 ELSE RETURN . . . END IF END BEGIN END Here are some rules to remember concerning forward declarations You cannot make forward declarations of a variable or cursor. This technique works only with modules procedures and functions . The definition for a forwardly-declared program must be contained in the declaration section of the same PL SQL block anonymous block procedure function or package in which you code the forward declaration. In some situations you absolutely require forward declarations in most situations they just help make your code more readable and presentable. As with every other advanced or unusual feature of the PL SQL language use forward declarations only when you really need the functionality. Otherwise the declarations simply add to the clutter of your program which is the last thing you want. Previous Module Overloading Module Overloading Oracle PL SQL Programming 2nd Edition Book Index Next Go Forth and Modularize Go Forth and Modularize The Oracle Library Navigation Copyright c 2000 O Reilly Associates. All rights reserved. Please purchase PDF Split-Merge on to remove this watermark. Chapter 15 Next 16. Packages Previous Forward Declarations Procedures and Functions Go Forth and Modularize As the PL SQL language and Oracle tools mature you will find that you are being asked to implement increasingly complex applications with this technology. To be quite frank you don t have much of a chance of success in implementing such large-scale projects without an intimate familiarity with the modularization techniques available in PL SQL. While this book could not possibly provide a full treatment of modularization in PL SQL it should give you some solid pointers and a foundation from which to work. There is still much more for you to learn -- the full capabilities of packages

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.