Practical File Contents
Practical File Contents
Of
Gupta(3490),Rinki (3542)
Assistant Professor
2
INDEX
Sr.No Content Page No.
1 DBMS
2 RDBMS
3 Oracle
4 SQL
5 PL/SQL
6 Introduction to VB.NET
9 Introduction to ADO.NET
10 Introduction to MS-Access
13 Objectives
14 Splash Screen
15 Login Form
16 MDI Form
17 Calculator
18 Text Editor
19 Registration Form
3
25 Coding for data grid
4
DBMS
Database Management System (DBMS) is a software for storing and retrieving users' data
while considering appropriate security measures. It consists of a group of programs which
manipulate the database. The DBMS accepts the request for data from an application and
instructs the operating system to provide the specific data. In large systems, a DBMS helps
users and other third-party software to store and retrieve data.
DBMS allows users to create their own databases as per their requirement. The term
“DBMS” includes the user of the database and other application programs. It provides an
interface between the data and the software application.
Advantages of DBMS
Disadvantage of DBMS
Cost of Hardware and Software of a DBMS is quite high which increases the budget
of your organization.
Most database management systems are often complex systems, so the training for
users to use the DBMS is required.
5
In some organizations, all data is integrated into a single database which can be
damaged because of electric failure or database is corrupted on the storage media
Use of the same program at a time by many users sometimes lead to the loss of some
data.
DBMS can't perform sophisticated calculations
Application of DBMS
6
The functionality provided by a DBMS can vary enormously. The core functionality is the
storage, retrieval and update of data. Codd proposed the following functions and services a
fully-fledged general purpose DBMS should provide
7
RDBMS
A relational database is a type of database. It uses a structure that allows us to identify and
access data in relation to another piece of data in the database. Often, data in a relational
database is organized into tables.
Initial Setup
Setting up a DBMS, optimizing it for ideal operations, and future-proofing it for growth
requires adequate flexibility for integration into the current data infrastructure.
Synchronization with other platforms is also essential for uninterrupted workflow.
Data security
Every DBMS will provide different security methods, like encryption, customizable routines,
and access rights, to protect your data. These should all be carefully considered during the
evaluation process. You probably want access controls like authorization and authentication
to be default features, meaning data in tables within a RDBMS is limited to access by specific
users.
Data model
How will you tell which model is right for your data? If you need to work with unstructured
data, then a relational model won’t work. NoSQL databases are often available as open
source, whereas a RBDMS is usually a commercial purchase.
Data accuracy/reliability
Some of the questions you will be asking yourself here are your accuracy requirements, and
whether to rely on business logic. Financial data and government reports, for example, will
have more stringent requirements.
If you want to design a data storage system that makes it easy to manage lots of information,
and is scalable and flexible, a relational database is a good bet.
Manageability: For starters, an RDB is easy to manipulate. Each table of data can be
updated without disrupting the others.
You can also share certain sets of data with one group, but limit their access to other
groups – for example, allowing only the HR department to see confidential
information about employees.
Flexibility: If you need to update your data, you only have to do it once – no more
having to change multiple files one at a time. And it’s pretty simple to extend your
8
database. If your records are growing, a relational database is easily scalable to grow
with your data.
Avoid Errors: There’s no room for mistakes in a relational database because it’s easy
to check for mistakes against data in other parts of the records. And since each piece
of information is stored at a single point, you don’t have the problem of old versions
clouding the picture.
Scalability: Relational databases are built on a single server. This means in order to
scale, you’ll need to purchase more expensive hardware with more power, storage,
and memory.
Performance: Rapid growth in volume, velocity, variety, and complexity of data
creates even more complicated relationships. Relational databases tend to have a hard
time keeping up, which can slow down performance.
Relationships: Relational databases don’t actually store relationships between
elements, which makes understanding connections between your data reliant on other
joins.
Advantages:
Data structure:
As discussed, the table format can be easily understood by the users, which makes it simpler
for them to use it. The data access and data organization are arranged using a natural
structure. Matching entries can be located with ease using database queries.
An RDBMS comprises a software program, server daemon, which has been specifically
designed to capture requests sent over a network, facilitating the communication between
database clients and the database. Here the users are not required to log in to the computer
9
system to access or use the database. This facilitates the users with a convenience and a
security layer for your database. Developers utilize this network access facility to create
desktop tools and web apps to interact with databases.
Language:
Though RDBMS does not account as the fastest known database management system
structure, since it offers a number of features, such as ease and simplicity, speed is
automatically overridden. There are a variety of optimizations that have been planted into the
RDBMS along with the database design that further helps in performance enhancement,
thereby facilitating the RDBMS to perform faster for all applications and data sets.
Technological enhancements, decrease in memory and storage costs, and increase in
processor speeds are some of the factors that contribute to helping the technicians build faster
systems for covering up deficiencies in the performance of the database systems.
Maintenance
As already discussed, the user access is multiple. So, more than one user can access one
database at the same time. As the data is being updated or changed, users can utilize the built-
in locking and transactions management functionality to access the data. This mainly helps in
10
overcoming any possible crashes between more than one users working on the data and
prevents users from accessing or using data that has been partially updated.
Privileges
With the authorization and privilege control features in an RDBMS, it is possible for the
database administrator to stop any access requested by authorized users. But permissions can
be assigned to individual users taking into account the database activities they are intended to
handle or undertake. This authorization is determined depending on the remote client IP
address, which is combined with user authorization, which restricts access to selected
computer systems.
Disadvantages
Cost
The expense of maintaining and even setting up a database system is relatively high and one
of the drawbacks of relational databases. A special software is required for setting up a
relational database and this could cost a fortune. For non-programmers, they would need to
implement a number of products to set up this database. It might not be an easy task to update
all the information and finally get the program running. For large firms with a need for a
more vigorous database, it would be imperative that you get external help from an
experienced programmer to build a relational database implementing SQL. Also, you would
need to get a proficient and experienced relational database administrator to manage and
control this database. No matter what data you use, it is required that you ingress it from
other databases, including Excel spreadsheets or text files. But you can also enter the data via
the keyboard. If you intend to store highly confidential information, 2 it is required that you
secure your data against any kind of unauthorized access.
11
ORACLE
Oracle Database allows you to quickly and safely store and retrieve data. Here are the
integration benefits of the Oracle Database:
Logical data structure – Oracle uses the logical data structure to store data so that you
can interact with the database without knowing where the data is stored physically.
Partitioning – is a high-performance feature that allows you to divide a large table into
different pieces and store each piece across storage devices.
Memory caching – the memory caching architecture allows you to scale up a very large
database that still can perform at a high speed.
Data Dictionary is a set of internal tables and views that support administer Oracle
Database more effectively.
Backup and recovery – ensure the integrity of the data in case of system failure. Oracle
includes a powerful tool called Recovery Manager (RMAN) – allows DBA to perform
cold, hot, and incremental database backups and point-in-time recoveries.
Clustering – Oracle Real Application Clusters (RAC) – Oracle enables high availability
that enables the system is up and running without interruption of services in case one or
more server in a cluster fails.
1) Enterprise Edition (EE) is the common and expensive edition of the Oracle Database. It
has the following characteristics:
2) Standard Edition (SE) is a limited edition of the Enterprise Edition that has the following
characteristics:
12
Limited to four or fewer CPUs
No limit on memory or database size
Include many features, but no as many as EE
3) Expression Edition (XE) is a free-to-use version of the Oracle Database that available on
both Windows and GNU/Linux platforms. These are the features of Oracle Database XE 18c:
Limited to 2 CPUs
Can use the maximum of 2GB of RAM, and has 12GB of user data.
Very limited features
Oracle Database (Oracle DB) is a relational database management system (RDBMS) from
Oracle Corporation.
Businesses require scalable, high-performance databases now more than ever. Many leverage
Oracle DB to drive business applications for online transaction processing (OLTP), data
warehousing, and business analytics. IT teams also need on-demand performance from these
13
SQL
14