Personal Oracle8i Create a new user Create a new table Enter data into a new table Export & import data Start and exit SQL Plus SQL Plus Syntax.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

CC SQL Utilities.
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Access Lesson 2 Creating a Database
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Overview Importing text files Creating Forms Creating Reports.
Introduction To Form Builder
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Access Ch 5 Review.
Access Tutorial 10 Automating Tasks with Macros
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
ACCESS. » Access is a database management system. » This system lets you create and process data. » A database is a collection of data that is organized.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Working with Queries in Microsoft Access The Access Workbench: Section Three DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Chapter 1 Databases and Database Objects: An Introduction
Lecture Note 9: Introduction to the MS Access
Creating a Web Site to Gather Data and Conduct Research.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
ISM 4212 Lab Creating DB Tables 02 copyright Lars Paul Linden 2007.
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Chapter 17 Creating a Database.
CSC 240 (Blum)1 Forms and Importing Data in Access.
NOBELCON Version 4.0 USER MANUAL. Get started Obtain Excel spreadsheet with coordinates. Open spreadsheet in Excel. If there are multiple sets of coordinates.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Microsoft Access 2010 Chapter 10 Administering a Database System.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Personal Oracle8i Create a new user Create a new table Enter data into a new table Export & import data Start and exit SQL Plus SQL Plus Syntax.
Oracle 9i. Agenda Start and exit SQL Plus (General) Start and exit SQL Plus (Tah 1006) Syntax Create a new user Create a new table Enter data into a new.
Managing Database With Oracle Replacement for Ch10 COP 4708.
Starting with Oracle SQL Plus. Today in the lab… Connect to SQL Plus – your schema. Set up two tables. Find the tables in the catalog. Insert four rows.
Microsoft Access Prepared by the Academic Faculty Members of IT.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Dept. of Computer & Information Sciences
3 A Guide to MySQL.
SQL and SQL*Plus Interaction
Using SQL*Plus.
After completing this lesson, you will be able to:
Using SQL*Plus.
ORACLE SQL Developer & SQLPLUS Statements
Sirena Hardy HRMS Trainer
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Using SQL*Plus.
Wings 2.0 Business Flow Reference
Presentation transcript:

Personal Oracle8i Create a new user Create a new table Enter data into a new table Export & import data Start and exit SQL Plus SQL Plus Syntax

Create A New User - 1 Start Select Program Select Oracle-oracle8i_home Select Application Development Select Oracle8i Navigator Select Oracle8i Personal Edition Select Local Database Select User icon Right click mouse Select New

Create A New User - 2 Enter your name for the Name Enter your password for the New Enter your password again for the Confirm Select Role/Privilege tab Select Role Select << Select Privilege

Create A New User - 3 Select << Select OK

Create a New Table - 1 Start Select Program Select Oracle oracle8i_home Select Application Development Select Oracle8i Navigator Select Oracle8i Personal Edition Select Local Database Select Table icon Right Click mouse Select New

Create a New Table - 2 Select create table manually Select OK Select General tab Enter Faculty for the Name Select your name for the Owner Select Design tab Enter fid as first column name

Create a New Table - 3 Select number for fid type Enter 4 as the size for fid Make sure the can be null box is clear Make sure the unique box is checked Select fid as primary key for the table Enter flname as second column name Select char for flname type

Create a New Table - 4 Enter 10 for the size Make sure the can be null box is clear Make sure the unique box is clear Enter ffname for the third column Select char for the ffname type Enter 10 for the size

Create a New Table - 5 Make sure the can be null box is clear Make sure the unique box is clear Enter locid as fourth column Select number for the locid type Enter 4 for the size Make sure the can be null box is clear Make sure the unique box is clear

Create a New Table - 6 Enter fphone for the fifth column Select number for the fphone type Enter 10 for the size Make sure the can be null box is clear Make sure the unique box is clear

Create a New Table - 7 Enter frank for the fifth column Select char for the frank type Enter 4 for the size Make sure the can be null box is clear Make sure the unique box is clear Select OK

Input Data Into A Table -1 Start Select Program Select Oracle oracle8i_home Select Application Development Select Oracle8i Navigator Select Oracle8i Personal Edition Select Local Database Select Table icon Highlight and right click table named faculty

Input Data Into A Table - 2 Select Open Enter the first record Select the row label for row1 to select the row and right click Select Insert after, a blank row appear under row 1 Enter the second record

Input Data Into A Table - 3 Repeat the above processes until you finish entering data Select close button (X icon in the upper right corner) Select Yes to commit the data

Export Data - Method 1 Program MS-DOS Prompt Type exp user name/password (such as exp nancy/nancy) Specify export file (such as a:extf1.dmp where a: is the drive) Answer the questions to execute the expert program

Import Data - Method 1 Program MS-DOS Prompt Type imp user name/password (such as imp nancy/nancy) Specify Import file name (such as a:extf1.dmp) Answer the questions to execute the import program

Start and Exit SQL Plus Start SQL Plus –Start –Select Program –Select Oracle oracle8i_home –Select Application Development –Select SQL –Enter your name for User Name –Enter Enter your password for Password Exit SQL Plus –Enter exit at SQL prompt

SQL Plus Syntax - 1 Use semicolon (;) to terminate a statement SQL is not case-sensitive SQL statement can be entered into several lines Use comma (,) to separate attributes Use a pair of single quotes (‘) for any character string

SQL Plus Syntax - 2 Use percentage sign (%) for a group of wildcard characters Use underscore (_) for one wildcard character Table name limited to 30 characters, no reserved word

SQL Plus Syntax - 3 Attribute name limited to 30 characters, no reserved word

SQL Plus Statement Syntax - 1 LIST - displays most current SQL statements from buffer Line number - changes the current line number to the entered line number and shows the listed line number LIST line number - show the indicated line number text

SQL Plus Statement Syntax - 2 CHANG/old text/new text/ - replaces an existing text string (old text) in the line with a new text string (new text) DELETE - deletes the current line

SQL Plus Statement Syntax - 3 SAVE file name - saves the most current SQL statements to a file GET file name - retrieves SQL statements from the file name R or / - runs the most current statements SPOOL - saves SQL statements, its query, and other results to a file –SPOOL file name –SPOOL OFF - terminates SPOOL

SQL Plus SPOOL File - Menu SPOOL file –Select File –Select Spool –Select Spool file –Type drive (such as a:) –Type file name (such as f1) –Select spool file (*.lst) SPOOL off –File –Spool –Spool off