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

Rollno 66 Atharva Manjrekar Exp 9

The document outlines a series of database commands and operations performed by a student named Atharva Deepak Manjrekar in their second-year course. It includes steps for creating users, granting and revoking privileges, creating databases and tables, inserting and selecting data, and performing transactions with rollback and savepoints. The experiment demonstrates the use of DCL and TCL commands in database management.
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 views10 pages

Rollno 66 Atharva Manjrekar Exp 9

The document outlines a series of database commands and operations performed by a student named Atharva Deepak Manjrekar in their second-year course. It includes steps for creating users, granting and revoking privileges, creating databases and tables, inserting and selecting data, and performing transactions with rollback and savepoints. The experiment demonstrates the use of DCL and TCL commands in database management.
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/ 10

‭ ame: Atharva Deepak Manjrekar‬

N
‭Class : Second Year‬
‭Roll no: 66 Div: B‬
‭Course Code: CEC403‬

‭Experiment no: 9‬

‭●‬ ‭DCL COMMANDS‬

‭●‬ ‭Creating user‬

‭●‬ ‭Granting User all privileges and exiting from the session‬

‭●‬ ‭Again logging in session‬


‭●‬ ‭Creating database after login and using it‬

‭●‬ ‭Creating table and inserting data into the table‬

‭●‬ ‭Selecting data from table‬

‭●‬ ‭Revoking all access from user‬


‭●‬ ‭Again logging in after revoking of all acsess‬

‭●‬ ‭Inserting data‬


‭●‬ ‭TCL Commands‬

‭●‬ ‭Creating table and inserting data in it‬

‭●‬ ‭Checking autocommit status of the program‬

‭●‬ S
‭ etting autocommit status off and again checking autocommit‬
‭status‬
‭●‬ ‭Inserting data after setting autocommit 0‬

‭●‬ ‭Selecting data after insertion of new record‬


‭●‬ ‭Logging in again after exiting‬

‭●‬ ‭Selecting data after login again‬


‭●‬ ‭RollBack‬

‭●‬ ‭Checking autocommit status and setting it off‬

‭●‬ ‭Inserting the data in the table‬


‭●‬ ‭Performing rollback‬

‭●‬ ‭Selecting the data from the table after rollback‬

‭●‬ ‭SAVEPOINT:‬

‭●‬ ‭Checking table 1‬


‭●‬ ‭Inserting new Data‬

‭●‬ ‭Start transaction‬

‭●‬ ‭Savepoint Insertion‬

‭●‬ ‭Updating Table‬


‭●‬ ‭Savepoint Updation‬

‭●‬ ‭Rollback to insertion and display table‬

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy