Oracle SQL*Plus Pocket Reference, 3/e
暫譯: Oracle SQL*Plus 口袋參考手冊,第3版

Jonathan Gennick

  • 出版商: O'Reilly
  • 出版日期: 2004-12-21
  • 售價: $810
  • 貴賓價: 9.5$770
  • 語言: 英文
  • 頁數: 154
  • 裝訂: Paperback
  • ISBN: 0596008856
  • ISBN-13: 9780596008857
  • 相關分類: OracleSQL
  • 已過版

買這商品的人也買了...

商品描述

Description:

The Oracle SQL*Plus Pocket Reference is a must-have for anyone working with Oracle databases, especially those looking to maximize the effectiveness of SQL*Plus. As Oracle's long-standing interactive query tool, SQL*Plus is available at every Oracle site, from the largest data warehouse to the smallest single-user system. Despite its wide use, however, SQL*Plus is still often not completely understood or fully utilized.

Database administrators and developers alike will therefore find the Oracle SQL*Plus Pocket Reference to be extremely beneficial. In addition to summarizing all of the SQL*Plus syntax and format options, including new Oracle Database 10g features, this handy, on-the-job guide specifically shows readers how to:

  • Differentiate between SQL and SQL*Plus
  • Interact with SQL*Plus from both the command line and the web browser
  • Select, insert, update, and delete data
  • Format both text and HTML reports with SQL*Plus
  • Specify SQL*Plus commands and format elements
  • Tune SQL queries


The new third edition of this book has been updated for Oracle Database 10g to include information on both SQL*Plus and SQL. New SQL information includes the SELECT statement's new MODEL clause, flashback queries, partition outer joins, and DBMS_XPLAN.

With its quick-reference format and compact size, the Oracle SQL*Plus Pocket Reference follows in the long line of successful "pocket references" offered by O'Reilly. It also serves as the ideal companion to O'Reilly's larger, more comprehensive book on SQL*Plus, the bestselling Oracle SQL*Plus: The Definitive Guide.

Author Jonathan Gennick is an editor for O'Reilly specializing in database and programming titles, having amassed some 17 years of programming and database management experience.

 

Table of Contents:

     Introduction 
      Command-Line SQL*Plus 
                Starting SQL*Plus 
                Entering Commands 
                Strings in SQL*Plus Commands 
                Specifying Filenames 
                Naming Variables 
      Browser-Based SQL*Plus 
                Starting and Stopping iSQL*Plus 
                Connecting to iSQL*Plus 
                Connecting to a Database 
                Connecting as SYSDBA 
                Creating SYSDBA Users 
                Entering and Executing Commands 
                Getting Output as Plain Text 
                Executing Scripts 
                Disconnecting from iSQL*Plus 
      Selecting Data 
                The SELECT Statement 
                Nulls 
                CASE Expressions 
                Table Joins (Oracle8i and Earlier) 
                Table Joins (Oracle9i and Higher) 
                Partition Outer Joins 
                Summary Queries 
                Unions 
                Partition Operations 
                Flashback Queries 
      Modeling Data 
                MODEL Clause Syntax 
                MODEL Clause Functions 
                MODEL Clause Example 
      Inserting Data 
                Inserting One Row 
                Inserting the Results of a Query 
                Multitable Inserts (Oracle9i and Higher) 
      Updating Data 
                Simple Updates 
                Noncorrelated Subqueries in the SET Clause 
                Correlated Subqueries in the SET Clause 
      Deleting Data 
                Simple Deletes 
                Deleting All Rows (TRUNCATE) 
                Deleting Duplicate Rows 
      Merging Data (Oracle9i and Higher) 
      Transaction Management 
                SET TRANSACTION 
                SAVEPOINT 
                COMMIT 
                ROLLBACK 
      Formatting Text Reports 
                Column Headings 
                Column Formats 
                Page Width and Length 
                Page Headers and Footers 
                Page Breaks 
                Report Breaks 
      Formatting HTML Reports 
                The Concatenation Approach 
                Generating Full Pages 
      Tuning SQL 
                Creating the Plan Table 
                Explaining a Query 
                Using DBMS_XPLAN 
                Querying the Plan Table 
                Using Optimizer Hints 
      SQL*Plus Format Elements 
                Formatting Numbers 
                Formatting Character Strings 
                Formatting Dates 
      SQL*Plus Command Reference 
      Index 


Return to Oracle SQL*Plus

商品描述(中文翻譯)

**描述:**
《Oracle SQL*Plus 口袋參考手冊》是任何與 Oracle 數據庫工作的人必備的工具,特別是那些希望最大化 SQL*Plus 效能的人。作為 Oracle 長期以來的互動查詢工具,SQL*Plus 在每個 Oracle 站點上都可用,從最大的數據倉庫到最小的單用戶系統。儘管使用廣泛,SQL*Plus 仍然常常未被完全理解或充分利用。

因此,數據庫管理員和開發人員都會發現《Oracle SQL*Plus 口袋參考手冊》極具幫助。除了總結所有 SQL*Plus 語法和格式選項,包括新的 Oracle Database 10g 功能外,這本方便的工作指南特別向讀者展示如何:
- 區分 SQL 和 SQL*Plus
- 從命令行和網頁瀏覽器與 SQL*Plus 互動
- 選擇、插入、更新和刪除數據
- 使用 SQL*Plus 格式化文本和 HTML 報告
- 指定 SQL*Plus 命令和格式元素
- 調整 SQL 查詢

這本書的新第三版已更新為 Oracle Database 10g,包含有關 SQL*Plus 和 SQL 的信息。新的 SQL 信息包括 SELECT 語句的新 MODEL 子句、閃回查詢、分區外部連接和 DBMS_XPLAN。

憑藉其快速參考格式和緊湊的尺寸,《Oracle SQL*Plus 口袋參考手冊》延續了 O'Reilly 提供的成功「口袋參考」系列。它也作為 O'Reilly 更大、更全面的 SQL*Plus 書籍《Oracle SQL*Plus: The Definitive Guide》的理想伴侶。

作者 Jonathan Gennick 是 O'Reilly 的編輯,專注於數據庫和編程書籍,擁有約 17 年的編程和數據庫管理經驗。

**目錄:**
- 介紹
- 命令行 SQL*Plus
- 啟動 SQL*Plus
- 輸入命令
- SQL*Plus 命令中的字串
- 指定檔案名稱
- 命名變數
- 基於瀏覽器的 SQL*Plus
- 啟動和停止 iSQL*Plus
- 連接到 iSQL*Plus
- 連接到數據庫
- 以 SYSDBA 身份連接
- 創建 SYSDBA 用戶
- 輸入和執行命令
- 獲取純文本輸出
- 執行腳本
- 斷開與 iSQL*Plus 的連接
- 選擇數據
- SELECT 語句
- Nulls
- CASE 表達式
- 表連接(Oracle8i 及之前)
- 表連接(Oracle9i 及更高版本)
- 分區外部連接
- 總結查詢
- 聯合
- 分區操作
- 閃回查詢
- 建模數據
- MODEL 子句語法
- MODEL 子句函數
- MODEL 子句範例
- 插入數據
- 插入一行
- 插入查詢結果
- 多表插入(Oracle9i 及更高版本)
- 更新數據
- 簡單更新
- SET 子句中的非相關子查詢
- SET 子句中的相關子查詢
- 刪除數據
- 簡單刪除
- 刪除所有行(TRUNCATE)
- 刪除重複行
- 合併數據(Oracle9i 及更高版本)
- 事務管理
- SET TRANSACTION
- SAVEPOINT
- COMMIT
- ROLLBACK
- 格式化文本報告
- 列標題
- 列格式
- 頁面寬度和長度
- 頁面標題和頁腳
- 頁面中斷
- 報告中斷
- 格式化 HTML 報告
- 串接方法
- 生成完整頁面
- 調整 SQL
- 創建計劃表
- 解釋查詢
- 使用 DBMS_XPLAN
- 查詢計劃表
- 使用優化器提示
- SQL*Plus 格式元素
- 格式化數字
- 格式化字元串
- 格式化日期
- SQL*Plus 命令參考
- 索引

返回 Oracle SQL*Plus