Oracle PL/SQL Language Pocket Reference- P23: 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. . | FOR EACH ROW DECLARE l_file_name TYPE l_directory VARCHAR2 30 BEGIN Determine the directory name file_loc dir_alias l_directory filename l_file_name This will fail with DUP_VAL_ON_INDEX if the images table already contains a record with the new image_id. INSERT INTO images VALUES l_file_name IF IS NOT NULL THEN DECLARE Note apparent bug prevents use of NEW. . The workaround is to store as a local variable in this case keywords_holder. keywords_holder Keyword_tab_t BEGIN FOR the_keyword IN LOOP INSERT INTO keywords VALUES keywords_holder the_keyword END LOOP END END IF END And finally we can demonstrate how an insert would be made using the object view INSERT INTO images_v VALUES Image_t 1002 BFILENAME lWEBPIXl GIF 1024 Keyword_tab_t ALPHABET LETTERS Appendix C Buill-In Packages contains information about these built-in packages. Please purchase PDF Split-Merge on to remove this watermark. Previous Object Views Housekeeping Oracle PL SQL Programming 2nd Edition Next 21. External Procedures Object Views Book Index 21. External Procedures Housekeeping The Oracle Library Navigation Copyright c 2000 O Reilly Associates. All rights reserved. Please purchase PDF Split-Merge on to remove this watermark. Chapter 21 Previous Postscript Using the BFILE Datatype Next Steps in Creating an External Procedure 21. External Procedures Contents Introduction to External Procedures Steps in Creating an External Procedure Syntax for External Procedures Mapping Parameters OCI Service Routines External Procedure Housekeeping Examples I ve lost count of how many times I ve heard the question Can I call whatever from within Oracle Typically whatever is a program that interacts with the external environment sending email polling or controlling hardware or