Oracle SQL*Plus : The Definitive Guide, 2/e (Paperback)
暫譯: Oracle SQL*Plus:權威指南,第2版(平裝本)

Jonathan Gennick

  • 出版商: O'Reilly
  • 出版日期: 2004-12-21
  • 定價: $1,300
  • 售價: 5.0$650
  • 語言: 英文
  • 頁數: 586
  • 裝訂: Paperback
  • ISBN: 0596007469
  • ISBN-13: 9780596007461
  • 相關分類: OracleSQL
  • 立即出貨(限量) (庫存=2)

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

商品描述

Description:

Despite its wide availability and usage, few developers and DBAs have mastered the true power of Oracle SQL*Plus. This bestselling book--now updated for Oracle 10g--is the only in-depth guide to this interactive query tool for writing SQL scripts. It's an essential resource for any Oracle user.

The new second edition of Oracle SQL*Plus: The Definitive Guide clearly describes how to perform, step-by-step, all of the tasks that Oracle developers and DBAs want to perform with SQL*Plus--and maybe some you didn't realize you could perform.

With Oracle SQL*Plus: The Definitive Guide, you'll expertly:

  • write and execute script files
  • generate ad hoc reports
  • extract data from the database
  • query the data dictionary tables
  • customize an SQL*Plus environment
  • and much more


It also includes a handy quick reference to all of its syntax options and an often-requested chapter on SQL itself, along with a clear, concise, and complete introduction.

This book is truly the definitive guide to SQL*Plus. It's an indispensable resource for those who are new to SQL*Plus, a task-oriented learning tool for those who are already using it, and an immediately useful quick reference for every user. If you want to leverage the full power and flexibility of this popular Oracle tool, you'll need this book.  

 

 

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 廣泛可用且使用頻繁,但很少有開發人員和資料庫管理員 (DBAs) 能夠掌握其真正的力量。這本暢銷書——現在已更新至 Oracle 10g——是唯一一本深入介紹這個互動查詢工具以編寫 SQL 腳本的指南。對於任何 Oracle 使用者來說,這是一本必備的資源。

新版的《Oracle SQL*Plus: The Definitive Guide》清楚地描述了如何逐步執行 Oracle 開發人員和 DBAs 想要在 SQL*Plus 中執行的所有任務——甚至是一些你可能未曾意識到的任務。

透過《Oracle SQL*Plus: The Definitive Guide》,你將能夠專業地:
- 編寫和執行腳本檔案
- 生成即時報告
- 從資料庫中提取數據
- 查詢數據字典表
- 自訂 SQL*Plus 環境
- 以及更多

它還包括所有語法選項的便捷快速參考,以及一章經常被要求的 SQL 本身的內容,並提供清晰、簡潔且完整的介紹。

這本書確實是 SQL*Plus 的權威指南。對於新手來說,它是一本不可或缺的資源;對於已經使用 SQL*Plus 的人來說,它是一個以任務為導向的學習工具;對於每位使用者來說,它都是一個立即可用的快速參考。如果你想充分利用這個流行的 Oracle 工具的全部功能和靈活性,你將需要這本書。

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

返回 Oracle SQL*Plus