oracle pl sql programming 3rd ed oreilly

867 300 0
oracle pl sql programming 3rd ed oreilly

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... explore the range of built-in PL/ SQL packages offered by Oracle There is a very good chance that PL/ SQL will today allow you to do pretty much whatever you need to do In the next section, we take a look at some examples of PL/ SQL programs that will familiarize you with the basics of PL/ SQL programming 1.3 So This Is PL/ SQL If you are completely new to programming or to working with PL/ SQL (or even SQL, ... "everywhere there is an Oracle database." PL/ SQL is an embedded language PL/ SQL was not designed to be used as a "standalone" language, but instead to be invoked from within a "host" environment So, for example, you can run PL/ SQL programs from within the database (through, say, the SQL* Plus interface) Alternatively, you can define and execute PL/ SQL programs from within an Oracle Developer form or... know a language other than PL/ SQL Oracle PL/ SQL Best Practices, by Steven Feuerstein A relatively short book that describes more than 100 best practices that will help you produce high-quality PL/ SQL code Having this book is kind of like having a "lessons learned" document written by an in-house PL/ SQL expert Current through Oracle8 i Page 24 Oracle PL/ SQL, Third Edtion Oracle PL/ SQL Developer's Workbook,... A companion to the Oracle PL/ SQL Programming book that presents an overview of the great new PL/ SQL features that appeared in Oracle8 i Advanced Oracle PL/ SQL Programming with Packages, by Steven Feuerstein A book designed to communicate the rationale and means of improving your programs by writing your own PL/ SQL packages Covers Oracle7 Oracle Web Applications: PL/ SQL Developer's Introduction, by Andrew... login screen of SQL* Plus Page 32 Oracle PL/ SQL, Third Edtion To run iSQL*Plus, put the correct URL into your browser (probably http://hostname/isqlplus) and supply your connection information as in Figure 2-3 Figure 2-3 The iSQL*Plus login page Once you have SQL* Plus running, you can do any of several things; the most common are: l l l l l Run a SQL statement Compile and store a PL/ SQL program in the... browser, as in Figure 2-4 Page 33 Oracle PL/ SQL, Third Edtion Figure 2-4 Query with result in iSQL*Plus You must terminate SQL statements in the console or pseudo-GUI with asemicolon, but the terminator is not required when entering a single statement in iSQL*Plus 2.1.3 Running a PL/ SQL Program So, here we go (drum roll please) Let's type a short PL/ SQL program into SQL* Plus: SQL> BEGIN 2 DBMS_OUTPUT.PUT_LINE('Hey... detailed descriptions of "what's new" in PL/ SQL in the latest Oracle versions, Oracle8 i and Oracle9 i The Oracle Developer product suite also comes with its own version of PL/ SQL, and it generally lags behind the version available in the Oracle RDBMS itself This chapter (and the book as whole) concentrates on server-side PL/ SQL programming Table 1-1 Oracle database and corresponding PL/ SQL versions Oracle. .. to PL/ SQL programmers: Oracle Technology Network Join the Oracle Technology Network (OTN), sometimes called TechNet, which "provides services and resources that developers need to build, test, and deploy applications" based Page 25 Oracle PL/ SQL, Third Edtion on Oracle technology Boasting membership in the millions, OTN is a great place to download Oracle software, documentation, and lots of sample... Starting Up SQL* Plus To start the console version of SQL* Plus, you can simply type "sqlplus" at the operating system prompt (designated by "OS>") OS> sqlplus This works for both Unix-based and Microsoft operating systems SQL* Plus should display a startup banner and then prompt you for a username and password SQL* Plus: Release 10:41:17 2002 9.2.0.1.0 - Production on Copyright (c) 1982, 2002, Oracle Corporation... versions Oracle PL/ SQL Characteristics version version Initial version of PL/ SQL, used primarily as a scripting language in Oracle6 1.0 SQL* Plus (it was not yet possible to create named, reusable, and callable programs) and also as a programming language in SQL* Forms 3 Major upgrade to Version 1 Adds support for stored procedures, functions, Oracle7 2.0 packages, programmer-defined records, PL/ SQL tables, . Jonathan About the Contents Oracle PL/ SQL, Third Edtion Page 4 The third edition of Oracle PL/ SQL Programming is divided into six parts: Part I, Programming in PL/ SQL We start from the very. examples of PL/ SQL programs that will familiarize you with the basics of PL/ SQL programming. 1.3 So This Is PL/ SQL If you are completely new to programming or to working with PL/ SQL (or even SQL, . mantra of PL/ SQL long before Java appeared. For PL/ SQL, though, "everywhere" means "everywhere there is an Oracle database." PL/ SQL is an embedded language PL/ SQL was not

Ngày đăng: 07/04/2014, 15:56

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan