Documente Academic
Documente Profesional
Documente Cultură
Database A set of inter-related data acting as a central reservoir of data that can be accessed by many users DBMS The software that manages database. A computer-based record keeping system which consists of software for processing a collection of interrelated data. Database Administrator Centrally manages the database. The DBA initially studies the System and accordingly decides its various process.
System management
Development tools
Internet applications
SQL
PL/SQL
Java
Network services
Introduction to SQL
SQL is used to make a request to retrieve data from a database. The DBMS processes the SQL request, retrieves the requested data from the database, and returns it. This process of requesting data from a database and receiving back the results is called a Database Query and hence the name Structured Query Language. Efficient, easy to learn and use.
SQL Statements
Data retrieval Select. Data manipulation language (DML) Insert,delete,update,merge. Data definition language (DDL) Create,alter,drop,rename,truncate. Transactional control Commit,rollback,savepoint. Data control language (DCL) grant,revoke.
Internet Browser
Oracle server
Query results
iSQL*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
Privileges
Database security: - System security - Data security System privileges: Gaining access to the database Object privileges: Manipulating the content of the database objects Schemas: Collections of objects, such as tables, views, and sequences The database administrator has high-level system privileges for tasks such as: Creating new users Removing users Removing tables Backing up tables
Creating Users
The DBA creates users by using the CREATE USER
statement.
Once a user is created, the DBA can grant specific system privileges to a user. GRANT privilege [, privilege...] TO user [, user| role, PUBLIC...];
An application developer, for example, may have the following system privileges:
CREATE SESSION CREATE TABLE CREATE SEQUENCE CREATE VIEW CREATE PROCEDURE
What is a Role?
Users
Manager
Create a role
CREATE ROLE manager; Role created.
Changing Password
The DBA creates your user account and initializes your password. You can change your password by using the ALTER USER statement.
Oracle 9i Enterprise
Oracle server: There are several files, processes and memory structures in an oracle server, not all of them are used when processing a SQL statement. The oracle server consists of an oracle instance and an oracle database. Oracle instance: An oracle instance is the combination of the background processes and memory structures.
Oracle database: An oracle database consists of operating system files, also known as database files that provide the actual physical storage for database information. The database files are used to ensure that the data is kept consistent and can be recovered in the event of a failure of a instance.
Database Administrator
A database administrator (DBA) is a person who is responsible for the environmental aspects of a database. In general, these include: a) Recoverability - Creating and testing backups b) Integrity - Verifying or helping to verify data integrity c) Security - Defining and/or implementing access controls to the data d) Performance - Ensuring maximum performance
Present Library system is totally handled through pen and paper .Big and thick register are being used to maintain the book records .One book is entered in different registers to maintain proper records .This causes a lot of data redundancy .This make the updating of books very difficult i.e. if changes are done there is greater probability of data inconsistency which causes a lot of problem.
APPLICATION THAT ARE PERFORMED BY THIS PROGRAM IS SHOWN ASIn books record in library ADD NEW RECORD DELETE RECORD MODIFY RECORD SHOW RECORD In membership record in library ADD NEW MEMBER DELETE MEMBER MODIFY RECORD SHOW MEMBER RECORD In issue return TO ISSUE BOOKS TO RETURN BOOKS TOSHOW ISSUED BOOKS
TABLE DESIGN
Account : Table
S.No . 1 2 3 4 Field Data Type Name Accno Total_limit Books_left Status Number Number Text Text
Issue : Table
S.No Field Name . 1 Bno 2 Id 3 Issue_date Data Type Number Number Date/tim e Due_date Date/tim e Copies_avail Number able
4
5
User : Table
Book : Table
S.No . 1 2 3 4 Field Data Type Name Id Roll_no Name Branch Number Number Text Text S.No . 1 2 3 4 5 6 7 8 9 Field Data Type Name B_no ISBN Subject Name Author Publisher Editor Copies Cost Number Number Text Text Text Text Number Number Number
Issue_return : Table
S.No Field Data Type . Name
1 2 3 4 5 6 7 B_no Id Due_date Number Number Date/Time
PROJECT DETAILS
MAIN MENU
ADMINISTRATIVE WORK
ADDITION
SEARCH
EXIT
ADD/ DELETE
DELETE
Issue
ISSUE/ RETURN
RETURN
BY BOOKNUMBER
BY BOOK NAME
VIEW
VIEW
PACK
View Members
DELETED ITEMS
RETREIVE
VIEW
MODIFY
EXIT
THANK YOU!!!!!!!