StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Introduction to Database Systems - Essay Example

Cite this document
Summary
Stored procedure is an SQL code or object that is executed like a query several times in order to achieve different functions or purposes…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER94.8% of users find it useful
Introduction to Database Systems
Read Text Preview

Extract of sample "Introduction to Database Systems"

Insert SQL Stored Procedure and Functions Stored procedures in SQL is a collection of controls, condition handling and SQL statements that provide an interface to the database. Stored procedure is an SQL code or object that is executed like a query several times in order to achieve different functions or purposes. Stored procedures are usually precompiled and can be simple selection query or complex ones to do several tasks like selection, joins, insertion or deletion simultaneously. Stored procedures contain a procedure name, input/output parameters, and a procedure body.

User defined functions are routines that encapsulate SQ logic inside them. User defined functions accept input and are compiled and executed at runtime. Execution at runtime makes them slower that stored procedures. Functions are divided into scalar function (return a single value), in-line functions ( return a table) and table value function for complex logic and multiple operations.AdvantagesStored procedures offer a great maintainability because scripts are found in one location. Therefore, tracking dependencies based on schema changes and update becomes easier.

Stored procedures increase security features of the database. They limit direct access to tables through use of defined roles in the database. Stored procedures provide a shield to underlying data structure through creation of an interface so that data and executions are shielded. Clients who access stored procedures and functions can be controlled by the database administrators. Securing access code and data of a database is easier than applying security features inside the application code itself.

Increases speed and database optimization. Stored procedures implement this since they are cached on the server. Execution for the processes is re-viewable easily without running the application.Works CitedHambrick PJ. Advantages and Drawbacks of Using Stored Procedures for Processing Data. 17 NOVEMBER 2014.

Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Introduction to Database Systems Essay Example | Topics and Well Written Essays - 250 words - 3”, n.d.)
Introduction to Database Systems Essay Example | Topics and Well Written Essays - 250 words - 3. Retrieved from https://studentshare.org/information-technology/1666670-introduction-to-database-systems
(Introduction to Database Systems Essay Example | Topics and Well Written Essays - 250 Words - 3)
Introduction to Database Systems Essay Example | Topics and Well Written Essays - 250 Words - 3. https://studentshare.org/information-technology/1666670-introduction-to-database-systems.
“Introduction to Database Systems Essay Example | Topics and Well Written Essays - 250 Words - 3”, n.d. https://studentshare.org/information-technology/1666670-introduction-to-database-systems.
  • Cited: 0 times

CHECK THESE SAMPLES OF Introduction to Database Systems

Advantages of Database Management Systems over Traditional File Processing Systems

This paper "Advantages of Database Management systems over Traditional File Processing systems" focuses on the traditional file-based systems that were an attempt to do away with the manual cumbersome filing system which was in use everywhere some years back.... he concept of database and the database Management System (DMS) was introduced in order to overcome the limitations of the file-based approach.... A database is a collection of interrelated data....
3 Pages (750 words) Essay

PDM Tools

d) has defined Product data management (PDM) or product information management (PIM) systems as the tools to control access to and manage all product definition data by maintaining information (meta-data) about product information.... Moreover, PDM tools provide… PDM tools are mainly used in engineering field for ensuring better data flow in and out as shown in the figure give above. The major advantages of PDM system are Time-to-Market, Improved Productivity and Improved Control....
5 Pages (1250 words) Essay

Suitability of a relational database structure rather than a spreadsheet table

A database system is an application that is able to store, recover, and manage data very quickly.... Thus, there is a variety of data records for the institute that needs to be stored in the database.... This research is about determining the suitability of a relational database structure over a spreadsheet table for storing and accessing data for a local arts centre.... In this scenario there are two main technology options; we can build a spreadsheet structure for managing these operations or we can develop a relational database system to deal with the operations of the local arts centre....
5 Pages (1250 words) Essay

Ccounting Systems Design and Development

The initial benefit that the organisation can get is in terms incorporation of all the different business related information systems which are in use throughout their… The Royal Australian Mint might expect that the implementation of the new system would present better business improvements within the organisation.... In addition, the other benefit that the organisation might expect is that the new system would significantly effect upon their area of planning which will cover the entire organisation and also will diminish the need for people to design their own systems....
8 Pages (2000 words) Essay

Introduction to Databases

Introduction to Database Systems.... Finally, a single table should only have one primary key at most. A possible solution is to use CASCADE operation introduction to Databases introduction to Databases Caution must be taken while dropping primary keys of tables.... Secondly, to avoid having null values as primary keys, always specify the primary key to auto increment whenever the database is populated.... The data type and values of foreign key that are used in the database schema must match with the data types and values of primary key or unique columns for that matter....
1 Pages (250 words) Assignment

Sysytems and Operations

Explore how the government supports the strategic development of information technology and e-business. Digital economy is such an economy that has the base of… In this world where the usage of mobile phones, laptops, satellite navigations, digital cameras and etc.... have increased to a higher extent making the economy more of a digital one instead of traditional. Looking at Sweden ranked as number 1 by the World Economic Forum Sweden's main focus is to have an increase in the information technology in order to have a stronger digital economy....
12 Pages (3000 words) Essay

Potential Threats to the Database

This research will begin with the statement that a database is a collection of interrelated files.... Presently all the corporations run their business through the database technology.... hellip; This paper presents a detailed analysis of the potential threats to the database as well as ways of ensuring database security.... In this scenario, a threat is some kind of situation that can badly affect the database system and the data inside it....
5 Pages (1250 words) Case Study

Query Optimisation in Wireless Sensor Networks Database

And it shows us the systems for the management of databases.... hellip; There exists systems for the management of databases, which control big quantities of the data that can be recovered through stipulating several queries that are articulated in a query language.... This review "Query optimisation in wireless sensor networks database" is about the query optimisation is a procedure through which numerous plans for the execution of the query aimed at meeting the requirements of a query are assessed and the plan of the query that is most suitable selected for the execution....
7 Pages (1750 words) Literature review
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us