Download presentation
Presentation is loading. Please wait.
Published byLaureen Black Modified over 9 years ago
1
© 2007 by Prentice Hall2-1 Introduction to Oracle 10g Chapter 2 Overview of SQL and SQL*Plus James Perry and Gerald Post
2
© 2007 by Prentice Hall2-2 Chapter Outline Interfacing with Oracle Using the DOS Command Line SQL*Plus Using SQL*Plus for Windows Using iSQL*Plus Understanding SQL Statements Using SQL*Plus Command Extensions
3
© 2007 by Prentice Hall2-3 Table 2.1 Data to be entered into the ContactReason table
4
© 2007 by Prentice Hall2-4 2.1 Example of a SQL command entered with SQL*Plus for Windows
5
© 2007 by Prentice Hall2-5 2.2 SQL command error message and associated error code
6
© 2007 by Prentice Hall2-6 2.3 Displaying additional information about an Oracle error code
7
© 2007 by Prentice Hall2-7 2.4 Using SQL*Plus in a DOS window
8
© 2007 by Prentice Hall2-8 2.5 Using SQL*Plus in Windows cursor indicating the insertion point
9
© 2007 by Prentice Hall2-9 2.6 Selecting text to edit selected text to be edited
10
© 2007 by Prentice Hall2-10 2.7 Logging into Oracle using iSQL*Plus the password is obscured
11
© 2007 by Prentice Hall2-11 2.8 SQL command and retrieved rows in a browser Logout hyperlink
12
© 2007 by Prentice Hall2-12 2.9 Error messages generated from DROP TABLE commands
13
© 2007 by Prentice Hall2-13 2.10 Rows returned by a SELECT statement rows retrieved from the Agents table SELECT statement entered to retrieve rows
14
© 2007 by Prentice Hall2-14 2.11 Inserting a row and verifying its values
15
© 2007 by Prentice Hall2-15 2.12 Updating a row in the Agents table values to update listed columns in Melinda Whitmore’s record
16
© 2007 by Prentice Hall2-16 2.13 Deleting a row and verifying its removal confirms selected row was deleted
17
© 2007 by Prentice Hall2-17 2.14 Example transaction structure COMMIT; INSERT INTO … DELETE FROM … UPDATE … COMMIT; a transaction
18
© 2007 by Prentice Hall2-18 2.15 Displaying a list of system privileges
19
© 2007 by Prentice Hall2-19 2.16 Listing SQL*Plus commands and help on the CONNECT command lists SQL*Plus commands displays help on a particular SQL*Plus command
20
© 2007 by Prentice Hall2-20 2.17 Displaying tables’ column definitions
21
© 2007 by Prentice Hall2-21 2.18 Altering column headings
22
© 2007 by Prentice Hall2-22 2.19 Altering the PAGESIZE environment variable
23
© 2007 by Prentice Hall2-23 2.20 Customizing the PAGESIZE environment variable Permanently setting the PAGESIZE variable
24
© 2007 by Prentice Hall2-24 2.21 Launching a script file in SQL*Plus START command (yours will not display)
25
© 2007 by Prentice Hall2-25 2.22 Using a substitution variable in a script file
26
© 2007 by Prentice Hall2-26 2.23 Script file Change the path (C:\Docs\) in these three places
27
© 2007 by Prentice Hall2-27 2.24 Output from the script file
28
© 2007 by Prentice Hall2-28 2.25 Changing an iSQL*Plus environment variable Single page option button Interface Configuration hyperlink Number of rows on each page set to 60
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.