Found 115 Articles for RDBMS

Difference between Function and Procedure

Kiran Kumar Panigrahi
Updated on 02-Sep-2023 11:42:06

58K+ Views

SQL (Structured Query Language) is a computer language which is used to interact with an RDBMS (Relational Database Management System). It is basically a method of managing, organizing, and retrieving data from a relation database. In SQL, two important concepts are used namely, function and procedure. A function calculates the results of a program based on the inputs provided, whereas a procedure is used to perform some tasks in a specific order. There are many other differences between functions and procedures, which we will discuss in this article. What is Function? A function, in the context of computer programming languages, ... Read More

Difference between DBMS and RDBMS

Kiran Kumar Panigrahi
Updated on 11-Jan-2023 14:50:19

8K+ Views

A DBMS (Database Management System) is a software that is used to manage a database. It is used to create, update, delete and maintain a database and it provides controlled access to data. An RDBMS (Relational Database Management System) is a type of DBMS that is based on the relational model of data. It can be regarded as an enhanced version of DBMS. Read this tutorial to find out more about DBMS and RDBMS and how they are different from each other. What is a DBMS? DBMS stands for Database Management System. A DBMS stores data in the form of ... Read More

What is Data Dictionary

David Meador
Updated on 31-Oct-2023 14:36:05

46K+ Views

A data dictionary contains metadata i.e., data about the database. The data dictionary is very important as it contains information such as what is in the database, who is allowed to access it, where is the database physically stored etc. The users of the database normally don't interact with the data dictionary, it is only handled by the database administrators.The data dictionary in general contains information about the following −Names of all the database tables and their schemas.Details about all the tables in the database, such as their owners, their security constraints, when they were created etc.Physical information about the ... Read More

Relational Set Operators in DBMS

David Meador
Updated on 22-Oct-2023 03:09:23

23K+ Views

DBMS supports relational set operators as well. The major relational set operators are union, intersection and set difference. All of these can be implemented in DBMS using different queries. The relational set operators in detail using given example are as follows as follows − Student_Number Student_Name Student_Marks 1 John ... Read More

Various Types of Keys in DBMS

David Meador
Updated on 30-Dec-2020 16:08:21

20K+ Views

The different types of keys in DBMS are −Candidate Key - The candidate keys in a table are defined as the set of keys that is minimal and can uniquely identify any data row in the table.Primary Key - The primary key is selected from one of the candidate keys and becomes the identifying key of a table. It can uniquely identify any data row of the table.Super Key - Super Key is the superset of primary key. The super key contains a set of attributes, including the primary key, which can uniquely identify any data row in the table.Composite Key -  If ... Read More

Data Independence in DBMS

David Meador
Updated on 20-Jun-2020 07:21:17

2K+ Views

A database contains a large amount of data. Not all of that data is user data, some of it can be metadata etc. So, it is very important that a database has data independence.Data independence basically means that if data is changed at a level, it does not impact the data view at the higher levels.Hence, the data at the higher levels should be independent of the data modification in the lower levels. There is two types of data independence. These are −Logical Data IndependenceLogical data is independent from how data is actually stored on the disk. So logical data independence ... Read More

Relational Data Model

Kristi Castro
Updated on 19-Jun-2020 12:16:01

1K+ Views

The relational data model is the most famous data model and is used by the majority around the world.This is a simple but efficient data model and has the capability to handle data in the best possible manner.Tables are used to handle the data in the relational data model. An example of a table containing data about the Employees in a company is as follows −Emp_NumberEmp_NameEmp_DesignationEmp_AgeEmp_Salary1JackManager35500002TomTechnician25250003HenrySecretary5030000The table Employee has the following characteristics −Tuple- A row of the table is called a tuple. It stores the data details according to the table schema.Column- A column of the database represents the same ... Read More

Examples of E-R model

Alex Onsman
Updated on 19-Jun-2020 09:06:54

11K+ Views

ER model is used to represent real life scenarios as entities. The properties of these entities are their attributes in the ER diagram and their connections are shown in the form of relationships.Some examples of ER model are −Hospital ER ModelThis is an ER model of a Hospital. The entities are represented in rectangular boxes and are Patient, Tests and Doctor.Each of these entities have their respective attributes which are −Patients - ID(primary key), name, age, visit_dateTests- Name(primary key), date, resultDoctor- ID(primary key), name, specializationThe relationships between different entities are represented by a diamond shaped box.Company ER ModelThe entities in this ... Read More

Managing Many-to-Many relationship

Alex Onsman
Updated on 19-Jun-2020 09:09:12

1K+ Views

Many to Many relationship implies multiple relationship between any two entities. An example of this is: A class has multiple students but a student also attends multiple classes. So this is a many to many relationship between the entities STUDENT and CLASS.It is complicated to manage a many to many relationship. We cannot mention all the classes a student attends or all the students in a class in one table. This would become extremely complicated and difficult to understand. So, we have used a joining table. This is demonstrated as follows −The Student table stores the details of individual students such ... Read More

Data Definition Commands in DBMS

Ricky Barnes
Updated on 19-Jun-2020 07:50:15

4K+ Views

Data definition commands are used to create, modify and remove database objects such as schemas, tables, views, indexes etc.Common Data Definition commands −CreateThe main use of create command is to create a new table in database. It has a predefined syntax in which we specify the columns and their respective data types.syntaxCREATE TABLE (  ,  ,  ,   );Example  Create a student table with columns student name and roll number.CREATE TABLE STUDENT (STUDENT_NAME VARCHAR(30), ROLL_NUMBER INT );AlterAn existing database object can be modified using the alter command. Alter command can do following changes to any ... Read More

Previous 1 ... 5 6 7 8 9 ... 12 Next
Advertisements