Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Note: Italicized pages refer to tables/figures.
AABORT choice, Oracle SVRMGRL, 246About item, 362Acceptance testing, 261Access. See Microsoft AccessAccess, unauthorized, 104, 105. See also
Passwords; SecurityAccess keys, 363Account locking, 106Account_Status column, in USER_USERS, 200Add, in Forms 6i, 277Administration accounts, and security, 106Administration button, 306Administrator installation, with 8i and 9i, 220Admin_Option, 207Adobe Acrobat Reader, 268Aliases, 216ALL_CONS_COLUMNS view, 204, 205ALL_CONSTRAINTS view, 204, 205ALL_TABLES view, 120, 203ALL view, 199, 211ALTER command
and stopping triggers, 409and tablespace creation, 140
ALTER/DROP/CREATE TABLESPACE, 136
447
Index
ALTER statement, 110, 138Ampersand (&), and access keys, 363ANALYZE function, 77AND, in SQL, 20ANSWER_ID, 342ANSWER_QUESTION_ID, 341ANSWERS table, 47, 65, 67, 115, 135, 331
creating, 69, 146linking to Question_ID column of
QUESTIONS table, 66and normalization, 48
ANY, 114Apache listener configuration, for Oracle9iAS
portal, 424
Apache Web server, 36, 418APPEND, 167, 170, 171, 175Applets, 417Application developers, and security, 106Application user, with 8i and 9i, 220Architectures, 36Artificial intelligence, 36Audio, adding to reports, 34Auditing, 104, 107, 211-212AUDIT_SEQ, 406Audit table, for authors, 406AUDIT_TABLE, 407AUTHOR_AUDIT table, 406, 407
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 447
Author data, in data file, 166
Author fields, 177, 276Author ID, 177AUTHORS table, 55, 63, 67, 68, 115, 135, 188, 268, 278
Author ID in first column for, 177building form using, 269, 270-272control file for loading, 167-168creating, 144and data file, 165empty, 190first author created with, 276and GUI form, 186input file for, 167and sequences, 391-392
Auto-Join data blocks, unchecking, 333, 340, 345AVG, 374, 398, 399
BBachman, Charles, 7Backup and Recovery wizards, 250Backups, 244, 256, 262
DBA and monitoring of, 264and recovery, 250-260
.bad file, 164, 171BAD folder, 169Bad records, 163, 164Base tables, 198BEGIN, in PL/SQL, 22, 23, 27BETWEEN command, in SQL, 20BETWEEN operator, 390Blocks, 22BREAK ON command, 375
four conditions taken by, 374Brio, 372
448 • INDEX
Browse button, in iSQL*Plus, 416Browsers, 37, 417, 418, 433, 437Business analysis, and Oracle Windows
installation, 76Business opportunity, 39-49Business role, 108Business users
building for BUS1_ROLE, 127creating, 118and profiles, 108roles for, 115subroles for, 109
Buttons, 354and GUI forms creation, 290-292, 294in Main Screen in Forms 6i, 317, 345-352
CCalculations, 374-381CALL_FORM, 354Canvases
data block items created on, 336GUERRILLA TEST DESCRIPTIONS added
to, 279and GUI forms creation, 287-289GUI forms creation and buttons on, 291images on, 293
Canvas screen (Forms 6i), Object Navigator, 274
Carriage returns, and “Input truncated to 13 characters” error, 416
Cartesian product, 404CASCADE command, 110CASCADE CONSTRAINTS, 144Case sensitivity, 167, 201CHANGE command, 380CHAR, 177
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 448
Characters, eliminating, 396CHAR format, 56Charts, and Oracle Reports, 33Check constraint, 59, 61Check feature, including NOT NULL, 14CHECK function, 406Check menu item, 362Child item, in menu item, 358Clear item, 362Client installations, with 8i and 9i, 220Client PC, 418, 437Clients, installing, 83Client/server technology, 8CLOSE button, Oracle Forms Builder, 287CLOSE_FORM, 354CODASYL, 7Codd, Dr. Edgar F., 7, 8
rules for relational database management system by, 6-7
Colons, 350, 357, 406Color(s)
and GUI forms creation, 294in Main Screen, 317test form, 330
Column definitions, within paren-theses, 137
Columns, 49, 57, 62, 66and data classifications, 56in data dictionary views and tables, 201date, 386grants given about, 207and joins, 381-382looking at constraints on, 204NULL, 399
INDEX • 449
in tables, 10, 12in tables for waiver exam, 52, 54, 58triggers on, 405
Comma-delimited files, 166, 168, 178, 409loading, 163, 175skipping fields in, 179
Command-line editor, 379-380Commas
and control file, 167in syntax for table creation, 137
Comments, 167, 374Compile button, Oracle Forms Builder, 287Compile errors, and GUI forms
creation, 295Compiler errors, and triggers, 407Compiling menus, 364-365COMPUTE, 374CONCAT, 393Concatenation of strings, 393Conditional logic, 179, 181Conference on Data Systems Languages.
See CODASYLConfiguration files, 432Constraint errors, 332Constraints, 12-14, 15, 52, 56, 59, 60, 137
and data dictionary views, 202finding for tables, 204importing into tables, 259looking up on tables, 259-260reenabling, 255value of, 171
CONSTRAINTS = N parameter, 255Constraint_Type, 204Control files, 82, 167-168, 176
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 449
Control form, 308, 309-310Conventional path method, 182Copy item, 362COUNT, 374, 398, 399, 402COUNTER, in PL/SQL, 28COURSE table, PL/SQL example, 23, 24
CREATE/ALTER PROFILE statements, 107CREATE command, 25, 138, 140Created column, in USER_USERS, 200CREATE INDEX command, 60CREATE ROLE WAIVER_DEV_ROLE, 114CREATE TABLE, 62, 136, 137CREATE TABLESPACE, 113CREATE TABLESPACE syntax, EXTENT
MANAGEMENT LOCAL added to, 139CREATE TYPE messages, 258CREATE USER, 117Crystal Reports, 372.csv data file, 166, 167-168.ctl suffix, for control files, 164Cursors, 23, 28CURSOR section, in PL/SQL, 30Customers, needs of, 41Custom installation, with 8i and 9i, 220Custom menus, 358, 366Cut item, 362CWE1P_BLOCK, 290CWE1P_CANVAS, 287, 288, 291
opening, 355
CWE1P database, 84, 100, 225exporting, 252, 253, 254, 255
CWE1P forms, menus put on, 358CWE1P_MAIN, 285
450 • INDEX
CWE1P_MAIN.fmb, copying as WEBCWE1P_MAIN.fmb, 434
CWE1P_MAIN form, 295, 356CWE1P_PROJECT folder, 289CWE1P_SELECT_TEST form, 354, 357CWE1P_SPLASH_BLOCK, 296, 435CWE1P_SPLASH_CANVAS, 296, 297, 435CWE1P_SPLASH window, 296CWE1P tables, accessing, 414
CWE1P_TAKE_TEST_CANVAS, 328, 329CWE1P_WINDOW, 288CWETEST ID, 229, 230CWE2P database, 249CW1 tablespace, 137
DDashes, in syntax for control file, 167Data
backup and recovery of, 242, 250-260in tables for waiver exam, 55, 56-64
Database administrators, 1, 2roles for, 106tasks and programming by, 83V$ views used by, 212
Database administrator tasks, 241-264backup and recovery, 250-260database instances, 261modification and tuning, 262-264and Oracle licensing, 243startup and shutdown, 243-250and system upgrades, 242-243
Database design, and system security, 104Database instances, 242, 261
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 450
INDEX • 451
Databases, 3, 9, 241-242creating, 80-82, 241DBA and startup/shutdown of, 242, 243-250
linking, 84tablespaces created during creation of, 81
Database triggers, 31Data block forms, 308Data block items, creating on canvas, 336Data blocks, 77, 290, 328, 329, 345Data Block Wizard (Forms 6i), 186, 187, 270, 333,
339, 345
Data Block Wizard Welcome screen, 269
Data classifications, in relational databases, 56Data Definition Language, 16, 167Data dictionary, 14, 15, 77, 82, 111, 120-121,
197-214, 243description of, 198finding tables and views in, 200items in, 198-199and naming conventions, 213views relevant to tablespaces, roles, and
password limits, 121Data dictionary views, 199-214
auditing, 211-212constraints, 204four major groups of, 199
limits, 210primary keys, 204-205profiles, 205-206roles, 206-208tables, 203tablespaces, 211users, 209-210V$ tables, 212-213
Data fields, for Main Screen, 313-316Data files, 77, 165-167Data handling, with SQL*Loader, 182-183Data Manipulation Language, 16Data normalization, 6, 43Data redundancy, reducing, 48Data security, 104, 105Data types, note on, 177Data warehousing, 31, 36-37Date columns, 386DATE data type, 389Date fields, adding, 180DATE format, 56, 182Dates, 186
handling, 386-391in spool file name, 384-386
.dat, for data, 164DBA_PROFILES view, 111, 205, 206DBA_ROLE_PRIVS view, 207DBA_ROLES view, 206DBAs. See Database administratorsDBA_USERS view, 205DBA view, 199, 211--dbms_output.put_line, 28DDL. See Data Definition LanguageDD-MON-YYYY format, and date storage in
MM/DD/YYYY format, 390Debugging, 27, 28DECIMAL INTEGER, 177DECLARE section, in PL/SQL, 22, 23, 27DECLARE statement, 408DECODE function, 397Default profile, 107
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 451
452 • INDEX
Default_Tablespace column, in USER_USERS, 200
DEL command, 381DELETE operation, 405Delete Relationship button, 345DESC command, 398DESCRIBE operation, 213Descriptor tables, 67Design
database, 41table, 46
DESTROY, for replacing objects, 258Detail block, 328, 330, 339-344Developer accounts, building, 125Developer Graphics Builder, 33Developer profile, creating, 113-114Developer role, 108, 114Developers
and profiles, 108and security, 106
Developer 6i, Oracle Forms with, 31, 32, 33
Development tools, 31-36Oracle Forms, 31-33Oracle Reports, 33-36
DEVEL tablespace, 78Dial-in configuration, Oracle Net Configuration
Assistant screen for, 227Direct path method, 182DISCARD folder, 169Discard records, 163Discoverer, 372Distribution independence, and relational
database management systems, 7DML. See Data Manipulation Language
Documentation, and system security, 104Double quotes, 409, 410
around names, 178and saving SQL script in text editor, 184in syntax for control file, 167
Drawing tools, and GUI forms creation, 294DROP command, 25
for deleting profiles, 110for deleting sequences, 392and tablespace creation, 138, 140
DROP/CREATE TABLE, 136Drop-down lists, 345.dsc, for discard file, 164Duplicate key error, 332Duplicate keys, and import step, 255
EEditor, note on, 143Edlin tool, 379Einstein, Albert, xiEllison, Larry, 8Empty tables, 167ENABLE command, and starting triggers, 409END command, in PL/SQL, 22Enforce data integrity, 186, 270ENTER button, for GUI form, 290Enterprise Edition, Oracle9i Application
Server, 420
Enterprise manager utilities, 244Enterprise version, starting/stopping database
with, 244Equal to operator (=), 61 Errors, 120, 164, 249, 338, 353, 436
form, 437
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 452
“FRM-30087,” 280“FRM-xxx,” 327, 370and global paths, 357handling, 327, 369and HAVING statement, 403and IMPORT, 256“Input truncated to 13 characters,” 416memory, 240note on, 156“Object DOES NOT EXIST,” 201Oracle, 257“ORA-00001,” 368“ORA-0403,” 120“ORA-xxx,” 325, 327, 402and port numbers, 238referential integrity and checking on, 64SQL, 257in syntax, 137, 140and table data entrance, 278and trigger creation, 407and User ID checks, 323
valid, 368Exam registration, ID checks for, 318-327EXAMS button, 307, 356Excel, 83Exception handling, 23EXCEPTION section, in PL/SQL
block, 22, 23Exceptions handling, parts to, 408EXCEPTION statement, 408EXIT button
in Forms 6i, 326, 327for GUI form, 290
EXIT command, in PL/SQL, 28
INDEX • 453
EXIT_FORM, 354, 357Expiry_Date column, in USER_USERS, 200Export step, 251-255EXPORT utility, 251, 252, 256Extensible Markup Language, 33Extents, 77, 78
FFailed login attempts, 113Failures, and transaction processing, 79FETCH command, in PL/SQL, 28Fields
fixed-length, 175, 176skipping in comma-delimited files, 179
Fill Color icon, 311FINISHED button, 308, 351Firewalls, 416First Normal Form, 43, 45, 46, 47Fixed-format files, 180, 181Fixed-format flat files, loading, 163Fixed-format record, sample, 175Flat files, 162, 176.fmb files, 354, 436fmrPCweb.res file, 437fmrweb.res file, 437.fmx files, 354, 436.fmx program, 432Folders
and EXPORT, 252SQLLOAD, 164
Foreign keys, 13, 14, 52, 65, 68, 73, 205Form error, 437Forms
access to, 109
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 453
Forms (continued)
building a piece at a time, 370calling from forms, 307-308custom menus attached to, 358generating, 186linking, 354-357menu items attached to, 367menus added to, 365-369in Object Navigator, 337
simple, 268-274using, 308-309
Forms 6i, 186, 188, 265-370creating real GUI forms with, 278-295creating simple forms with, 268-274installing, 266-268main screen of, 306-369navigating among forms in, 354running the form in, 275-278runtime screen in, 275
saving in, 293security, 441-444splash screen in, 296-306starting, 269syntax problems in, 324
Forms 6i components, 281-282canvas, 282Object Navigator, 281PL/SQL Editor, 282Property Palette, 282
Forms menu bar, 358FORMS60PATH, 436Forward slash (/), for running commands after
making changes, 381 %FOUND, 29n1
454 • INDEX
Fraudulent update, 104“FRM-30087” error, 280“FRM-xxx” error, 327, 370
GGlobal paths, 356, 357, 436Global variable, 295Grants
DBA and management of, 242kinds of, 207
GRANT statements, 112for business roles, 115-116and roles, 114for Student role, 116and user creation, 117
Graphical user interface, 2, 136, 416Graphics
displaying on splash screen, 299-300test form, 330
Graphs, and Oracle Reports, 33Greater than operator (>), 61 Greater than or equal to operator (>=), 61 GREATEST command, 390, 398GROUP BY clause, 77, 402-403GROUP BY statement, 400Guerrilla Exams screen, 439, 440
GUERRILLA1 server, 84Guerrilla Oracle, guerrilla part of, 4GUERRILLA_ORACLE folder, 367, 436
GUERRILLA TEST DESCRIPTIONS, 279Guerrilla toolbox, 371-416
calculations, 374-381date handling, 372, 386-391DECODE function, 397
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 454
feeding other systems, 372, 409-410iSQL*Plus, 414-416letter and number manipulation, 372,
392-396linking to Access, 372, 410-414number functions, 372, 398-401queries, 371, 381-386reporting made simple, 371, 372-374sequences, 372, 391-392TRANSLATE command, 396-397triggers, 372, 405-409verbs and adverbs, 372, 402-405
GUI. See Graphical user interfaceGUI form, data added to tables
with, 186-195GUI forms creation, 278-295
and buttons, 290-292and components of Forms 6i, 281-282and images, 293-294main screen, 284
preparation for, 278-280and saving work, 293select test screen, 284
splash screen, 283, 285-289steps in, 282-285take test screen, 285
tools, 294-295
HHardware, 76HAVING command, 403headsep (head separator) character, 374Help index, information on “FRM-xxx” errors
in, 370
INDEX • 455
Help item, 369Help parent menu item, 363Help topic window, with 8i, 221
Hierarchical structures, 6Host Name field, IP address in, 238Hours, with date handling, 388Housekeeping, before loading, 164-165HTML. See HyperText Markup LanguageHuman Genome Project, 56Human Resources data, security policy for, 105HyperText Markup Language, 35, 83, 432
IIBM, 7, 8Icons, 356IDs, 105,
security, 441-444superuser, 136and test registration, 318tracking, 352-353
IF...THEN statements, 22Images
adding to reports, 34adding to splash screen canvas, 298and GUI forms creation, 293-294
IMMEDIATE choice, Oracle SVRMGRL, 246
IMMEDIATE parameter, 246
Import step, 255-260
IMPORT utility, 252, 256
and CONSTRAINTS = N parameter, 255
and DESTROY, 258
uses for, 251
IMS, 7, 8
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 455
INCLUDING CONTENTS command, in syntax for tablespace creation, 138
IN command, in SQL, 19, 20Indexes, 15, 60, 77, 78, 262Informix, 8Ingres, 8INITCAP command, 393Initial extent, 78Initial value, setting in Property Palette, 349INIT.ORA, 81, 82IN operator, 390INPUT command, 381Input files, and table layout mismatch, 180“Input truncated to 13 characters” error, 416INSERT, 23, 167, 170, 171, 183Insert, in Forms 6i, 277INSERT log, 173INSERT operation, 405, 407INSERT statement, 185, 392Installation types screens
in Oracle 8i, 219
in Oracle 9i, 220
Instances, 76-77, 261of databases, 261of objects, 12
INSTEAD OF statement, 405INSTR command, 394-395Integrity constraints
and import step, 255information on in data dictionary, 198minimizing, 262
Integrity independence, and relational databasemanagement systems, 6
Interfacing, 83
456 • INDEX
Internet, 8Internet Explorer, 242Internet Explorer users, note for, 263-264INTERSECT, 383Intersect table, 11IP address, 237, 437
and host name, 237, 238and PC configuration, 226
Is equal to (=), 19Is greater than (>), 19 Is greater than or equal to (>=), 19 Is less than (<), 19 Is not equal to (!= or <> or ^=), 19 iSQL*Plus, 414-416
login screen, 414
work screen, 415
JJava, 432JInitiator,installing, 434, 437Joins, 77, 381Journal of the Association for Computing
Machinery, 6
KKeyboard file, checking on Web server, 437Keyboard map files, 437Keys, 56
foreign, 13, 14, 52, 65, 68, 73, 205logical, 13nonprimary, 73primary, 12, 13, 48, 59, 60, 62, 69, 73, 137, 205uniqueness among, 64value of using, 171
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 456
LLAN. See Local area networkLaptops, 240LAST_DAY command, 390Layout Editor, 310, 317, 339, 344, 354
getting to for canvas, 345SELECT_TEST canvas in, 338
Layout Wizard (Forms 6i), 270, 271, 272, 273, 341
LEAST command, 390, 398Legacy, porting to new Oracle database, 136Legato, 250LENGTH command, 393Less than operator (<), 61 Letters, manipulating, 392-396Licenses and licensing, 76, 242, 243LIKE statement, 19Limits, 210Line Color icon, 311Linking forms, 354-357Link table, 67LIST command, 380List of values, 311, 313, 314, 316-318Lists, 19LOAD commands, 184Loading tables, 162-195
and advanced SQL*Loader, 179-183and control file, 167-168and data file, 165-167and housekeeping, 164-165and running SQL*Loader, 169-178and SQL*Loader (Method 1), 162using a GUI form (Method 3), 186-195using a script (Method 2), 183-186
INDEX • 457
Load Script button, iSQL*Plus, 416Local area network, 3, 226Locally managed, tablespaces defined as, 139Lock_Date column, in USER_USERS, 200LOG folder, 169Logical data independence, and relational data
base management systems, 6Logical key, 13Logical operators, 59, 60, 61
Logins, and profiles, 113.log, for log files, 164Logo screens, 296Logs, checking, 264Loops, 22LOV. See List of valuesLOV Wizard, 314, 315, 316, 317
LOWER command, 393LPAD, 395LTRIM, 395, 396
MMagic types, 362, 363Main screen (Forms 6i), 306-370
building a control form, 309-310building screen items, 311buttons on, 345-352calling forms from forms, 307-308data, 313-316detail block, 339-344error handling, 327linking the forms, 354-357list of values, 316-318master block, 331-338menus, 358-370
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 457
Main screen (Forms 6i) (continued)
message box, 311-312test form creation, 327-330tracking IDs, 352-353triggers, 318-327using the forms, 308-309
Maintenance, 244Malicious update, 104Many-to-many relationship, 11, 12Master block, 331-338Master-detail relationships, in Forms 6i, 328Master table, in data block, 328Math symbols, with number functions, 398MAX, 374, 398, 399Memory
errors, 240for 8i and 9i installation, 86
Menu bars, 354Menu editor, 360Menu items, 358
activating, 363-365attaching to form, 367creating, 360-363
Menu module, creating, 358-359Menus
adding to forms, 365-369building a piece at a time, 370compiling, 364-365custom, 358
Menus in Forms 6i, 357, 358-370activating menu items, 363-365adding menus to forms, 365-369creating menu items, 360-363creating menu modules, 358-359
Message box, 311-312
458 • INDEX
Microsoft Accesslinking to, 410-414linking to Oracle, 84starting, 411
Microsoft Internet Explorer, Oracle Forms Server, 433
Microsoft ODBC for Oracle driver, 412Middle tier, 417, 418MIN, 374, 398, 399MINUS command, 383Minutes, with date handling, 388Misspellings, 357, 407, 437.mmb files, 436MM/DD/YYYY standard format, and date
storage in Oracle format, 390.mmx file, copying to Web server, 436Modification and tuning, 242, 262-264“Module built successfully” message, 364MONTHS_BETWEEN command, 390Multidisk systems, and tablespaces, 138Multiple forms, 336
NNaming standards, 213National Science Foundation, 8Negative numbers, incrementing by, 392Net8. See Oracle Net8Net8 Configuration Assistant. See Oracle Net8
Configuration AssistantNet Service Name Wizard
communications protocol screen, 230, 237
database name typed in, 238
protocol settings screen, 230, 238
test screen, 231, 239
Welcome screen, 237
NET START command, 249
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 458
NET STOP command, 249NEW_FORM, 354NEW_VALUE, 377, 379NEXT_DAY command, 390NEXT EXTENT clause, 78NEXT.VAL, 31Nicknames, 2019i. See Oracle 9i
Non-key joins, 382Nonprimary keys, 73Nonsubversion, and relational database
management systems, 7Nonunique index, 60Nonvolatile, 36NORMAL choice, Oracle SVRMGRL, 246Normal forms
First, 43, 46, 47Second, 45, 46, 48Third, 47, 48
NORMAL (in ALTER statement), in syntax for tablespace creation, 138
Normalization, 49, 52, 54, 60break in, 55reasons for, 48
NOT BETWEEN command, in SQL, 20Notepad
note on input data created with, 178script saved in, 139
Not equal to operator (!= or ^= or <>), 61 %NOTFOUND, 29n1NOT NULL, 14, 58, 68NSF. See National Science FoundationNT. See Windows NTNULL, 14, 398
INDEX • 459
Null constraint, 58NUM, 374NUMBER format, 56Number functions, 398Numbers, manipulating, 392-396NUMERIC EXTERNAL, 177
O“Object DOES NOT EXIST” error message, 201Object Navigator, 273, 279, 281, 308, 345, 354, 356
and activating menu items, 364
and adding menus to form, 365and building splash screen, 296button name changes with, 352and canvas screen, 274
and data blocks, 329deleting data block information in, 344form in, 337
and lists of values, 317and menu module creation, 359
and radio button group, 349and User ID checks, 322, 324
Object Navigator screen, PRE-FORM selected under Triggers in, 295
Objects, 15, 212OCOPY, 250One-to-many relationship, 11Open cursors, checking for, 29n1OPEN_FORM, 354OR, in SQL, 20Oracle, 8
date format in, 182dictionary used by, 198-199five-digit numbering schema for releases by, 242
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 459
Oracle (continued)
NET STOP and NET START commands in, 249
system upgrades by, 242user groups, 262
Oracle Corporation, 15Oracle databases, 76
linking Access to, 410-414linking other databases to, 84
Oracle Designer, description of, 214Oracle Discoverer, 372Oracle 8
database, 215RMAN in, 250
Oracle 8i, 33, 83, 99
installation types screen, 219
installing, 85-101install screen, 222
RMAN in, 250saving new service, 240server, 1, 2summary installation screen, 221
Welcome screen, 86
Oracle 8i clientadding another service to, 235-240Client-Autorun screen, 216, 217
handling failures in installation of, 240installation of, 215, 216-234
Oracle 8i Tuning and Administration(Thorpe), 262
Oracle Enterprise Manager tools, 250Oracle errors, 257Oracle Forms, 3, 31-33, 76
460 • INDEX
Oracle Forms Buildertool palette in, 294
Welcome to Form Builder screen in, 285
Oracle Forms Developer, 266Oracle Forms Runtime screens
Guerrilla Exams, 439
Guerrilla Test Authors, 276, 277
“take test,” 439
Oracle Forms Server, 36, 431
Oracle home, 79ORACLE_HOME/ORANT/BIN directory, 307Oracle HTTP Server in SSL Mode, 422Oracle HTTP Service, 414Oracle installation settings screen, 266
Oracle Installer, 266, 428Oracle instance, 76-77Oracle licensing, DBA and enforcement
of, 242, 243Oracle logon screen, 438Oracle Managed Objects, 248Oracle Net8, 83, 101, 136, 224Oracle Net8 Configuration Assistant, 225, 235, 236
adding more services to, 240
another net service name screen, 229
communications protocol screen, 226
completion screen, 233
connect fail message screen, 231
dial-in configuration screen, 227
Net Service Name Configuration, Connectingscreen, 228
Net Service Name Configuration, database SID screen, 229
Net Service Name Configuration Done screen, 232
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 460
Net Service Name Configuration, Net ServiceName screen, 228
Net Service Name Configuration Test, 227
Service Naming highlighted in screen, 236
Welcome screen, 224, 225
Oracle Net Manager, Service Naming directory screen, 239
Oracle 9i, 33, 83, 96, 414installation types screen, 220
installing, 85-101install screen, 223
RMAN shipped with, 250, 251running Oracle services screen, 99
server, 1, 2summary installation screen, 222
Welcome screen, 217
Oracle 9i Application Server (9iAS), 417, 418–419
Enterprise Edition, 420
installation screens, 427-429
installing, 419Java orientation with, 434server, 36testing, 433
Oracle 9i Application Server Forms Server, installing, 422
Oracle 9i Application Server portal, Apache listener configuration for, 424
Oracle 9i Application Server Reports Server, installing, 422
Oracle 9i clientadding another service to, 235-240handling failures in installation of, 240installation of, 215, 216-234saving new service in, 240
INDEX • 461
Oracle RDBMS, system security for, 104Oracle Reports, 3, 31, 33-36, 76, 377Oracle Server, 3, 15, 37, 76
and building tables, 136DBA and installation of, 241
Oracle servers, defining to client PC, 216-234Oracle Services ID, 247“Oracle smart,” and clients, 215-216Oracle SQL*Loader. See SQL*LoaderOracle SQL*Plus. See SQL*PlusOracle Technical Network, 371Oracle tools installation options screen, 266
Oracle Universal Installer, 87, 216, 419, 421, 422, 423, 428
Apache listener configuration for Oracle9iASportal screen, 424
component Locations screen, 224
configuration tools screen, 96, 223
database configuration screen, 93
database identification screen, 93, 94
database product screen, 90, 91
default directories screen, 88
deinstalling and reinstalling, 100Destination Oracle Home and Oracle Home
Name screen, 421
end of installation screen, 97, 233
file locations screens, 218, 219
installation types, 91, 92
Install screen, 95
inventory screen, 98
Oracle9i Application Server installation screens, 427-429
Oracle9i install screen, 422
products and storage requirements screen, 94, 95
standard status bar, 89
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 461
Oracle Universal Installer (continued)
summary screen for Oracle9i Application Server, 426
system password for wireless edition screen, 426
Welcome screen, 420
Wireless Edition screen, 425
Oracle Universal Wizard, 215Oracle Web, 33, 36, 419Oracle Web tools, 3Oracle Windows installation, 75-101
concepts, 76-80major parts of, 80-84
Oracle Wireless Edition technology, 37ORADIM command, 249“ORA-00001” error, 368ORA-0403 error message, 120“ORA-xxx” error message, 325, 327, 402ORDER BY clause, 77, 402, 403Outer joins, 382Output, from system design, 41Output drop-down list, iSQL*Plus, 416Output spool file, 153-162Ozzie, Ray, xi
PParameter file, and IMPORT utility, 256-257Parameters, in Oracle Forms Server test screen,
431, 432Parent-child relationships, 6Parentheses
in syntax for table creation, 137and triggers, 407
Parent item, in menu item, 358Password aging, 106
462 • INDEX
Password complexity, 106Password history, 107Password limits, views relevant to, 121
Passwords, 104, 114management policy for, 106-107for sensitive administration
accounts, 106and user security, 105
Paste item, 362Patch software, 243PB. See PetabytesPerformance
DBA and analysis of, 262and tablespaces, 139and triggers, 409
Person ID, from PERSON table, 25-26PERSON table
example of SQL from, 16PL/SQL example, 22, 23, 24, 25and SQL*Plus report, 20-21
Petabytes, 77Physical data independence, and relational
database management systems, 6Pirating policy, 243Plain menu items, 362PL/SQL (Procedural Language/SQL), 3, 22-31,
37, 76, 83running, 143successful completion of procedure in, 30
PL/SQL Editor, 282, 363Pop-up menus, 369Port numbers, and errors, 238POSITION statement, data types defined with,
177PRE-FORM trigger, 356, 435
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 462
Presentation, 37Primary keys, 13, 48, 59, 60, 62, 69, 73, 137
finding for table, 204-205uniqueness of, 12, 14
Privileges, 105, 106, 111-112, 136and auditing, 107in data dictionary, 198and data dictionary views, 201
Procedure Builder, 33Procedures, 114PRODUCT_COMPONENT_VERSION
view, 243Production instance, 261Profiles, 104, 108
creating, 132and data dictionary views, 202DBA and creation of, 241script for building, 121showing, 205for waiver database security, 113-114WILD_HORSES, 110
Programmer installation, with 8i and 9i, 220Programmers, and security, 106Programming, 104, 213Prompt selection, 313PROMPT statement, 377Property palette, 282, 292, 294, 310, 313, 317
changes in, 288, 289initial value set in, 349and menu items creation, 361and Oracle Forms Builder, 188, 189
and splash screen, 299for USER_ID, 320-321
Pseudocolumns, 375, 379Public synonyms, 79, 120, 201
INDEX • 463
QQueries, 277, 381-386, 401Query Builder, 33QUESTION_ID, 341Question Id block, on Guerrilla Exams
screen, 440QUESTIONS table, 44, 45, 48, 68, 69, 115, 331,
332ANSWERS table linked to Question_ID
column of, 66building, 65constraints added to, 63creating, 135, 146defining data for, 57and relationships, 64
QUESTIONS_TYPE_DESC table, 54, 57, 63, 65, 68, 135, 145
Quit item, 362Quotes/Quotation marks
for character fields, 183deleting at end of strings, 396double, 167, 178, 184, 409, 410rules for, 410single, 167, 301, 338, 409, 410
RRadio button group, 345, 347, 348, 349Radio buttons, 345, 347
changing properties of, 348
and GUI forms creation, 294Radio menu item, 362RDBMSs. See Relational database management
systemsRecords, adding in Oracle Forms Runtime, 191,192, 193, 194, 195Recovery. See Backup and recovery
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 463
Recovery Manager, 250Redo logs, 82Redundancy, reducing, 48References clause, 69
guidelines for use of, 73References TABLE(column) command, 66Referential integrity, 13, 64, 65, 66, 67, 137,
145, 278and import step, 255note about, 73
Referential integrity constraints, 82, 332and CASCADE CONSTRAINTS, 144in tables, 135, 143and tables linked together, 71-72
Refresh, cautionary note about, 261Register and Continue to the test button
trigger, 352Registry
settings changes in, 248shutdown information in, 248
Relational database management systems, 3, 5, 37
Codd’s rules for, 6-7and constraints, 12-14and relationships, 10-12
Relational databases, 10-14, 56Relational Software Inc., 8. See also Oracle
CorporationRelationships, 10-12
for tables for waiver exam, 55, 64-72REPLACE, 167, 170, 173Reports
access to, 109in browser, 35
with Oracle Reports, 34
writing, 372-374
464 • INDEX
Repository, 214Reserved words, in SQL*Loader, 167Return value column, 314, 315RMAN. See Recovery ManagerROLE_ROLE_PRIVS view, 208Roles, 104, 105, 108-111, 114-116, 206-208, 213
creating, 132for database administrators, 106and data dictionary views, 201DBA and creation of, 241and grants, 207, 208script for building, 121security policies defined for, 109
and user security, 105views relevant to, 121
ROLE_SYS_PRIVS view, 208ROLE_TAB_PRIVS view, 207Rollback segments, 82, 262Rollback tables, 262%ROWCOUNT, 29n1Rows, 49. See also Columns
and data classifications, 56in tables, 10, 12
Row triggers, 405RPAD, 395RTRIM, 395, 396Rulers, and GUI forms creation, 294Runtime installation, with 8i and 9i, 220
SSandboxes, in Forms 6i, 281-282Save Script button, in iSQL*Plus, 416Saving
in Forms 6i, 277, 278reminders about, 293, 327, 331, 337, 344, 351,
356–357, 364, 436
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 464
Schemas, 78-79, 107SCORE column, 402Screen items, building, 311Scripts
access to, 109SQL*Plus load, 183table creation, 148-153variation on use of, 184-186for waiver database security, 121-133
Second Normal Form, 45, 46, 48Seconds, with date handling, 388Security, 37, 76, 81, 82, 83, 103-133, 241, 369,
441-444 auditing, 107building security schema, 107-112data security, 105password management policy, 106-107and protection issues, 103system security, 104tasks involved in, 104user security, 105-106waiver database security, 112-133
“SECURITY_LOAD.SQL,” 122Security policies, for different roles, 109
Security schemabuilding, 107-112DBA and development of, 241privileges, 111-112profiles, 107, 108roles, 107, 108-109users, 107, 110-111
Segments, 77, 78“SELECT ALL TABLES” privilege, 206“SELECT ANY TABLE” privilege, 202
INDEX • 465
SELECT command, 201, 380, 387, 393and queries, 381and test scores, 400, 401
SELECT * FROM ALL_CONSTRAINTS, 14, 15SELECT * from table-name command, 278SELECT * FROM DBA_CONSTRAINTS, 14SELECT * FROM USER_CONSTRAINTS, 14SELECT items, GROUP BY items matched
with, 402SELECT statement, 377, 401hours, minutes, and seconds added to, 388
SELECT * statements, qualifying, 201SELECT_TEST canvas, 336, 338, 352SELECT_TEST .fmb form, 366SELECT_TEST form, 328Semicolons, 301, 357
in syntax for table creation, 137in syntax for tablespace creation, 138and table creation, 144and triggers, 407
Separator menu item, 362SEQUEL, 7. See also SQLSEQUENCE command, 392Sequence numbers, loading, 182Sequences, 31, 78, 391-392, 406Server configurations, 15Server environment, 15Servers, 263
installing, 80Service Naming directory, Oracle Net
Manager, 239
SESSION, 114Session information, and auditing, 212SESSION_PRIVS, 210
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 465
SESSION_ROLES, 210SET ECHO command, 140Seven-character naming schema, 213SGA. See System global areaShapes, and GUI forms creation, 294Shortcuts, 307Shutting database down, reasons for, 244SID. See System identifierSign In button, 319, 321, 325Simple forms, creating, 268-274Single quotes, 167, 301, 338, 409, 410Size of data types, 177SmartTriggers, 321Smart triggers, 326, 350, 357Software AG, 8Sorts, 77SOUNDEX command, 394Space allocation/deallocation, and
tablespaces, 139Spelling, 407. See also MisspellingsSplash canvas, positioning items in, 304Splash screen, 296-306, 354
building, 296building in Forms 6i, 285-287building timer for, 301displaying the graphic, 299-300image and text added to canvas, 298-299removing, 435and syntax note, 301on the Web, 434
SPOOL command, 140Spool file name, date put in, 384-386Spooling, 201
turning off, 162
466 • INDEX
Spreadsheetsloading into tables, 162and variations on using a script, 184-186
SQL. See Structured Query LanguageSQL command line, and backspacing
restriction, 141SQL>DESCALL_CONSTRAINTS, 204SQL>DESC ALL_CONSTRAINTSSQL>DESC ALL_TABLES, 203 SQL/DS, 8SQL errors, 257.sql file, 143, 185SQL*Loader, 2, 82, 83, 136, 186, 244
and data files, 165data formats handled by, 177data handling with, 182-183and data loading methods, 182naming files in, 164running, 169-178syntax rules for, 167and table loading, 162temporary tables loaded with, 180
SQL*Loader 500 error, 178SQLLOAD file, creating, 164SQL*Net, 224. See also Oracle Net8SQL*Plus, 3, 20-21, 37, 76, 80, 83, 100, 101, 278,
279, 343and creating/loading tables, 136, 139default editor with, 141prompt, 111and report writing, 372-374, 376and User ID checks, 326
SQL*Plus screen, 240SQL*Plus script, 183
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 466
SQL programming languages, 16-31PL/SQL, 22-31SQL, 16-20SQL*Plus, 20-21
SQL> prompt, 139, 140, 185, 416 command-line editor run from, 380 commands run from, 132-133
SQL script, in text editor, 184SQL statements, and auditing, 107.sql type, 139SQR, 372Start/end test times, calculating, 391Start in field, Guerrilla Tests Properties
screen, 307
Starting up/shutting down databases, andDBA, 243-250Statement triggers, 405STD, 374Storage, in RDBMS, 11, 12Strings, 56, 392-396
and date calculations, 389more functions for working with, 396-397
Structured English Query Language. SeeSEQUEL
Structured Query Language, 5, 8, 16-20, 37, 76basic commands in, 17-18
syntax, 18, 19
Student accounts, creating, 129“STUDENT_ANSWER_HISTORY not defined”
message, 351STUDENT_ANSWER_HISTORY table, 47, 59,63, 64, 70, 148, 345, 350Student IDs, tracking, 352-353Student role, 108
creating, 116and grants, 124
INDEX • 467
STUDENT_ROLE, 117Students, and profiles, 108STUDENTS table, 46, 52, 53, 59, 61, 65, 116, 433
creating, 69-70, 147modified, 62and relationships, 64
Subfolders, in SQLLOAD file, 164SUBSTR command, 394SUM, 374, 398, 399Superuser ID, 136SVRMGRL, 249, 250
starting up/shutting down, 245-247SYNONYM, 114Synonyms, 31, 79, 120, 201Syntax
for accessing in schema, 78-79for changing spreadsheet into SQL script,
184-186for CREATE or REPLACE TABLE, 331for data blocks, 351for date commands, 390and DECODE function, 397errors in, 137, 140, 357and EXPORT utility, 255and Forms 6i, 301, 324and GROUP BY clause, 402for NULL values, 399for parameter file, 256for script created with text editor, 184for sequences, 392SQL, 18, 19
and SQL*Loader, 167with tablespace creation, 136-139for WILD_HORSES profile, 110
SYSDATE, 375, 379, 391
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 467
SYS ID, special security note on, 106System Administrator account, 269System blocks, 77System design, output from, 41System global area, 76-77System ID, 80, 106, 229SYSTEM/MANAGER ID, 136, 139SYSTEM privileges, 111-112, 207, 208System R, 7, 8SYSTEM schema, 79System security, 104System Support Files screen, 268
SYSTEM tablespace, 77, 78, 110, 198System upgrades, by DBA, 242-243
TTABLE, 114Table creation script, in entirety, 148-153Table creation syntax, 136-139
syntax rules, 137tablespaces, 138-139
Table data, sequencing and entering of, 278Table design
and Oracle Windows installation, 76and system security, 104
Table loading, 162-195with GUI form (Method 3), 186-194, 195and import step, 255with a script (Method 2), 183-186, 195sequence for, 278with SQL*Loader (Method 1), 195
Table normalization, and Oracle Windows installation, 76
Tables, 15, 49, 77, 78, 135-195, 241, 375base, 198
468 • INDEX
building, 48checking, 178constraints on, 14creating, 82, 135, 139-140, 143-148damaged, 256data dictionary, 203DBA and creation of, 241designing, 46finalizing for waiver exam, 51-73grants given about, 207loading, 162-195looking up constraints on, 259-260and Oracle Windows installation, 76output spool file for, 153-162overview of creating and
loading, 136refining for waiver exam, 52-55in relational database management system,
10, 12rights to, 120and triggers, 406V$, 212-213
TABLESPACE line, 137Tablespaces, 77-78, 137, 138-139, 241
creating, 132, 140-143creation of during Oracle database
creation, 81
defining as locally managed, 139finding, 211note on, 142temporary, 262views relevant to, 121
for waiver database security, 112-113TABLESPACE USERS, creating, 119“Take test” canvas, in Forms 6i, 328
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 468
TAKE_TEST canvas, 339, 341, 345, 346Target field, Guerrilla Tests Properties screen,
307
Temporary tables, 23, 180Temporary_Tablespace column in
USER_USERS, 200Temporary tablespaces, 262Temporary work table, 25TEMP_PERSON_TABLE, 23, 26TEMP tablespace, 77, 78, 110, 112, 113, 119TERM OFF, 384Test forms, 327-330, 336TEST_HISTORY table, 47, 52, 53, 59, 116, 387
creating, 147defining, 70modified, 62and relationships, 64
Test ID box, 309TEST_ID column, 316Test ID field, 326TEST_ID table, 46, 47, 53, 58, 63, 66, 115, 135,
332creating, 65, 144and relationships, 67, 68
Testing, Oracle9i Application Server, 433TEST_QUESTIONS_LINK table, 46, 53, 63, 135,
332creating, 146and relationships, 64, 69
Test registration, ID checks for, 318-327Tests, choosing, 308TESTS table, 45Tests Taken report, 376, 378Test tables, and security, 105TEST TAKEN table, 44, 45
INDEX • 469
TEST_TYPE_DESC table, 54, 58, 63, 68, 135, 144data loaded into, 279defining, 67
TEST_TYPE_DESC tableand relationships, 65, 66
Text, adding to splash screen canvas, 298Text Color icon, 312Text editor, script created with, 184Thick clients, 37Thin clients, 37Third Normal Form, 47, 48, 60Third-party products, for backup and recovery,
250Thorpe, Heidi, 262Three-tier system, 418TIME format, 56Timer, building for splash screen, 301Timer code, 435TNSNAMES.ORA file, 216, 240TO_CHAR, 386, 387, 390TO_DATE, 386, 390
note on, 389Toolbars, 354Tools, and GUI forms creation, 294-295Totals, 374Tracking student IDs, 352-353Transaction control, 16Transaction processing, 79-80Transistor, 8TRANSLATE command, 396Tree structures, 6Trigger function, 318Triggers, 31, 114, 357, 363, 405-409
creating, 356, 405-406, 407
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 469
Triggers (continued)
disabling, 435and linking forms, 354Main Screen, 318-327and Plain menu items, 362and splash image, 299and splash screen, 302starting/stopping, 409using, 406-409
Tuning and modification, 242, 262-264Turing award (ACM), 8TYPE = ‘all files,’ 122TYPE table, 47, 48
UUnauthorized access, 104, 105Undo item, 362Unions, 381, 382UNION statement, 383UNIQUE constraint, 171Unique forms, 308Unique index, 60Uniqueness constraint, 58University of California (Berkeley), 8UPDATE operation, 405, 407UPDATE section (PL/SQL), 28, 29Upgrades, 244, 261UPPER command, 393URLs, 432, 433, 437User accounts, 82, 108, 110
creating, 117and data dictionary, 213locking, 113
470 • INDEX
User accounts (continued)
script for building, 121support for, 112
USER_AUDIT_STATEMENT, 212USER_AUDIT_TRAIL view, 212USER_CATALOG view, 209USER data dictionary views, 210
USER_ID, property palette for, 320-321User_ID column, in USER_USERS, 200User ID fields, adding, 180Username column, in USER_USERS, 200User names, in data dictionary, 198USER_ROLE_PRIVS view, 208Users, 104, 136, 209-210, 241.
See also Business usersadding, 82creating, 133creating and assigning roles to, 124DBA and creation of, 241and waiver database security, 117-120
User security, 104, 105-106USER_SOURCE table, 212USERS tablespace, 78, 112USER_SYS_PRIVS view, 209USER tables, public synonym for, 200USER_TABLESPACES view, 211USER-TS_QUOTAS view, 211USER_USERS view, 209USER views, 199, 211
VValue, of primary and foreign keys, 13VANSWERS2, 339, 344, 345
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 470
VAR, 374VARCHAR2 format, 56Variables
global, 295with Oracle Reports, 377script prompts for, 121, 133with table creation, 137
V$BGPROCESS view, 212V$DATAFILE view, 212Verbs, in SQL*Loader, 167, 170Versions, compatibility issues among, 242Video, adding to reports, 34VIEW, 114Views, 15, 31, 37, 78, 353Visual Basic, 84VQUESTIONS2, 340V$SESSION view, 212V$SYSSTAT view, 212V$ tables, 212-213V$ views, 199
WWaiver database, 108Waiver database security, 112-132
and data dictionary, 120-121and profiles, 113-114and roles, 114-116scripts for, 121-133and tablespaces, 112-113and users, 117-120
Waiver exam/test finalizing tables for, 51-73taking and correcting, 440
INDEX • 471
Web, the, 9, 37, 76, 417-440WEBCWE1P_MAIN.fmb, 434WEBCWE1P_MAIN.FMX folder, copying to
FORMS60 directory on Web server, 436WEBCWE1P_MAIN form, compiling, 436WEB DB, 31Web enabling, for Oracle Windows, 83Web Form Tester, Oracle Forms Server, 431
Web server, 418, 437WEBTEST.fmx, 433WHEN_BUTTON_PRESSED, 350, 351WHEN statement, 181WHEN_TIMER_EXPIRED trigger, 435WHERE clause, 402, 404-405
dates in, 390operators used with, 405
WHERE condition, and SELECT statement, 381WILD_HORSES profile, 110WILD_HORSES_ROLE, 112WILD_HORSES table, 112, 180-181Window item, 369Windows NT, 75, 419
Oracle Admin Assistant and starting/stopping database in, 248
server, 3starting database with, 247
Windows 2000 (W2K), 75, 419deinstalling and reinstalling, 100server, 3Services screen, 247
starting database with, 247, 248
Windows 2000 Oracle database server, services screen, 244
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 471
Wireless technology, 37Wizards, 15
Backup and Recovery, 250for configuring network parameters, 216with Developer 6i, 32
8i and 9i Install, 85 with Oracle Reports, 34
472 • INDEX
WordPad, note on input data created with, 178Workbooks, 372
XXML. See Extensible Markup Language
YYear, signifying with four digits, 391
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 472
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 473
Staron99_index.qxd.ps 12/20/02 12:19 PM Page 474