Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.

Slides:



Advertisements
Similar presentations
Virtual training week 4 structured query language (SQL)
Advertisements

7 Copyright © Oracle Corporation, All rights reserved. Producing Readable Output with i SQL*Plus.
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Let’s try Oracle. Accessing Oracle The Oracle system, like the SQL Server system, is client / server. For SQL Server, –the client is the Query Analyser.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
Scripts and iSQL*Plus SQL*Plus over the Internet.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Writing Basic SQL statement 2 July July July Create By Pantharee Sawasdimongkol.
Introduction to Structured Query Language (SQL)
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.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Chapter 1 Writing Basic SQL Statements Important Legal Notice:  Materials on this lecture are from a book titled “Oracle Education” by Kochhar, Gravina,
1 ORACLE SQL iSQLPlus & SQLPLUS Statements. 1-2 iSQLPlus is a application software layer that allows programmers to utilize SQL to make changes to the.
Ceng 356-Lab1. Objectives After completing this lesson, you should be able to do the following: Get Familiar with the development environment List the.
1 Copyright © 2009, Oracle. All rights reserved. B Table Descriptions.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
INTERNET APPLICATION DEVELOPMENT For More visit:
Chapter 2 Basic SQL SELECT Statements Oracle 10g: SQL.
1 Copyright © 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
Much from Introduction to Oracle:SQL and PL/SQL, Oracle University 1 Basic SQL Statements Oracle/SQL Plus Commands Kroenke, 11 th ed., Chapter Two.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Copyright  Oracle Corporation, All rights reserved. Writing Basic SQL Statements.
RELATSIOONILISED ANDMEBAASID(alg) SQLi VÕIMALUSED.
Oracle 11g DATABASE DEVELOPMENT LAB1. Introduction  Oracle 11g Database:-  Oracle 11g database is designed for some features, which helps to the organizations.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
Ways to use SQL statements You can directly submit them to the DBMS for processing You can embed SQL statements into client/server application programs.
Introduction to SQL PART Ⅰ 第一讲 Writing Basic SQL SELECT Statements.
1 Writing Basic SQL Statements. 1-2 Objectives At the end of this lesson, you should be able to: List the capabilities of SQL SELECT statements Execute.
Copyright © 2004, Oracle. All rights reserved. Lecture 4: 1-Retrieving Data Using the SQL SELECT Statement 2-Restricting and Sorting Data Lecture 4: 1-Retrieving.
Working with Columns, Characters, and Rows. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –Apply the concatenation.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
© 2007 by Prentice Hall2-1 Introduction to Oracle 10g Chapter 2 Overview of SQL and SQL*Plus James Perry and Gerald Post.
Introduction to Teradata Client Tools. 2 Introduction to Teradata SQL  OBJECTIVES :  Teradata Product Components.  Accessing Teradata – Database /
1-1 Copyright  Oracle Corporation, All rights reserved. Logging In to SQL*Plus From Windows environment:From Windows environment: From command line:From.
Simple Queries DBS301 – Week 1. Objectives Basic SELECT statement Computed columns Aliases Concatenation operator Use of DISTINCT to eliminate duplicates.
Writing Basic SQL Statements. Objectives After completing this lesson, you should be able to do the following: –List the capabilities of SQL SELECT statements.
Installation Oracle 11g Express 2 double click the "setup" button to install the Oracle.
 CONACT UC:  Magnific training   
1 Copyright © 2007, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
Chapter Four Objectives Introduction to SQL Introduction to iSQL*PLUS Types of SQL statements Concepts of DDL & DML Data Manipulation Language (DML)
Oracle 10g Retrieving Data Using the SQL SELECT Statement.
1 Copyright © 2009, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Copyright س Oracle Corporation, All rights reserved. 1 Writing Basic SQL Statements.
1 Copyright © 2004, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
D Copyright © 2009, Oracle. All rights reserved. Using SQL*Plus.
3 A Guide to MySQL.
Retrieving Data Using the SQL SELECT Statement
Writing Basic SQL SELECT Statements
SQL and SQL*Plus Interaction
Using SQL*Plus.
Chapter 1 Introduction.
Retrieving Data Using the SQL SELECT Statement
Using the Set Operators
Using SQL*Plus.
ORACLE SQL Developer & SQLPLUS Statements
Retrieving Data Using the SQL SELECT Statement
Chapter 1 Introduction.
Chapter 1 Introduction.
Contents Preface I Introduction Lesson Objectives I-2
Using SQL*Plus.
Retrieving Data Using the SQL SELECT Statement
Using the Set Operators
Presentation transcript:

Database control Introduction

The Database control is a tool that used by the database administrator to control the database. To enter to Database control (start menu-all programs-oracle home-database control). Or enter the following url in your web browser ( – Where host is (local host or computer name or the IP address for your PC – Service number is 5500 or It may take other values. If you can not enter to the database control you must follow the following steps

Step 1 Click this item

Step 2

Step 3 Choose this option

Step 4 Choose database to configure

Step 5

Step 6

Step 7 Passwords for DBSNMB and SYSMAN our default password is userdb

Step 8

Step 9 This console may be followed by an error console. If this happens you will return to the previous step click finish again

Step 10 This is the url you will enter in the web browser

SQL and i SQL*Plus Interaction SQL statements Query results i SQL*Plus commands Client Formatted report Internet browser Oracle server

SQL Statements Versus i SQL*Plus Commands SQL statements SQL A language ANSI standard Keyword cannot be abbreviated. Statements manipulate data and table definitions in the database. i SQL*Plus An environment Oracle-proprietary Keywords can be abbreviated. Commands do not allow manipulation of values in the database. Runs on a browser Centrally loaded; does not have to be implemented on each machine i SQL*Plus commands

Column Heading Defaults – i SQL*Plus: Default heading alignment: Center Default heading display: Uppercase – SQL*Plus: Character and Date column headings are left- aligned Number column headings are right-aligned Default heading display: Uppercase

Overview of i SQL*Plus After you log in to i SQL*Plus, you can: – Describe table structures – Enter, execute, and edit SQL statements – Save or append SQL statements to files – Execute or edit statements that are stored in saved script files

Logging In to i SQL*Plus From your browser environment:

i SQL*Plus Environment

Displaying Table Structure Use the i SQL*Plus DESCRIBE command to display the structure of a table: DESC[RIBE] tablename

Displaying Table Structure DESCRIBE employees

Interacting with Script Files SELECT last_name, hire_date, salary FROM employees; 1 2

Interacting with Script Files

1

2 3 D:\TEMP\emp_data.sql

i SQL*Plus History Page 1 2 3

3 4

Setting i SQL*Plus Preferences 2 3 1

Setting the Output Location Preference 1 2

Summary In this lesson, you should have learned how to: – Write a SELECT statement that: Returns all rows and columns from a table Returns specified columns from a table Uses column aliases to display more descriptive column headings – Use the i SQL*Plus environment to write, save, and execute SQL statements and i SQL*Plus commands SELECT *|{[DISTINCT] column|expression [alias],...} FROM table;