0% found this document useful (0 votes)
5 views3 pages

DBMS

DDL commands are SQL statements used to define and manage database structures like tables and indexes, focusing on schema rather than data manipulation. Key DDL commands include CREATE, ALTER, DROP, TRUNCATE, and RENAME, which are auto-committed and cannot be rolled back. Additionally, the document defines data, databases, DBMS, and various types of database users, including administrators, naive users, and sophisticated users.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

DBMS

DDL commands are SQL statements used to define and manage database structures like tables and indexes, focusing on schema rather than data manipulation. Key DDL commands include CREATE, ALTER, DROP, TRUNCATE, and RENAME, which are auto-committed and cannot be rolled back. Additionally, the document defines data, databases, DBMS, and various types of database users, including administrators, naive users, and sophisticated users.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Q. Explain DDL commands.

DDL (Data Definition Language) Commands : DDL


commands are SQL statements used to define and manage
database structures such as tables, indexes, and schemas.
These commands do not manipulate the data but focus on
the structure of the database.
Common DDL Commands:
1. CREATE – Used to create databases, tables, indexes,
and views.
2. ALTER – Modifies the structure of an existing table by
adding, deleting, or modifying columns.
3. DROP – Deletes an entire database, table, or view
permanently.
4. TRUNCATE – Removes all records from a table but keeps
the structure intact.
5. RENAME – Changes the name of a table.
Key Points:
 DDL commands a ect the database schema.
 They are auto-committed, meaning changes cannot be
rolled back.
 Used for defining and managing database structures.
Q. Define Data, Database, DBMS system.
Ans. 1.Data:- It is the collection of Information data can be
represented as raw facts and figures from which useful information
can extracted.
Eg. c name, c no., c city.
2. Database:- It is collection of interrelated data database is a
organized collection of structured data, typically store
electronically in computer system. Database are used to store,
manage and retrieve data e iciently. The data in database is
organized in such a way that the data can be accessed, managed
and updated.
Characteristics of Database:-
1) Data organization :- data can be stored in table, fields and
records
2) Consistency :- Data can be maintained with integrity and
consistency
3) Scalability :- It is scaled to handle the large amount of data
4) Security :- Data is often secured to prevent unauthorized access
3. Database Management System :- It is computerized system, the
purpose is to maintain information and make that the information is
available on demand.
- Reducancy can reduced
- Integrity is maintained
- Data gatherings are possible
- Data can be shared
- Inconsistancy can be avoided
Q. Database users
answer: 1. Database administrator: DBA is a person or team who
defines the scheme and control the 3 levels of database.
-the dba will create new account ID and password for the user if he
or she is needed.
-The dba will responsible for providing the security to the data base
and allows only authorised user to access the data.
2. Naive parametric end users.
-Parametric end users are the users who don't have knowledge
about dbms but frequently used data base application in their daily
life to get desired result .
Example: railway booking tickets are example of naive users.
3. System analyst : system analyst are the user who analyse the
requirement of parametric end user they check whether the
requirement of end users are satisfice.
4. Sophisticated user : Sophisticated user are engineers, scientists
and business analysts who are familiar database.
- They can develop their own application according to their
requirements.
5. Data base designers : Data base designers are users who design
the structure of data base includes, table, index, view, constrain
trigger, stored procedures.
6. Application program : Application program are the backend
programmer who write code for the application. They are computer
professionals.
7. Casual users : casual users are the users who occasionally use
database but when they access they require new information.
Eg. Middle or high level manager.

You might also like