This document contains details of two lab assignments for an Advanced RDBMS course using IBM DB2. Lab Assignment 1 involves creating database objects like storage groups, tablespaces, schemas and tables. It also includes tasks like modifying column data types and adding a new column. Lab Assignment 2 focuses on concepts like primary keys, data types, indexing, backups and restores, performance monitoring and optimization. It also includes tasks like creating a function, sequence and trigger along with the required SQL syntax.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views4 pages
Rdmss
This document contains details of two lab assignments for an Advanced RDBMS course using IBM DB2. Lab Assignment 1 involves creating database objects like storage groups, tablespaces, schemas and tables. It also includes tasks like modifying column data types and adding a new column. Lab Assignment 2 focuses on concepts like primary keys, data types, indexing, backups and restores, performance monitoring and optimization. It also includes tasks like creating a function, sequence and trigger along with the required SQL syntax.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4
Lab Assignment ReportOn
Advanced RDBMS LAB (IBM753)
College Of Computing Sciences And Information
TechnologyTMU, Moradabad Session: July 2023 - Dec 2023
Submitted To: Submitted By:
Mr. Ajay Rastogi Anjali Singh
TCA2057007
B.tech CS
(IBM) Lab Assigment No: 1
S. Program Page Date Si Remar
No. Name No. gn ks 1 Create storage group stg1. 2 Creating table space ts1. 3 Creating two schemas s1 and s2. 4 Create Employee (EmpID, EmpName, Salary, Exp) table in both schemas. 5 Rename the column name Exp to Expenditure.
6 Modify the Data type of Salary column with
double data type.
7 Show the table structure Employee.
8 Create an alias to s1.employee or Emp. 9 Create a tbale Student (RollNo int primary key, Name varchar(30)
10 Add a column Subject_Name in allocation Table.
Lab Assigment No: 2
S. Program Page Date Si Remar
No. Name No. gn ks 1 How do you define a primary key in DB2, and why is it important? 2 What are the various data types supported in DB2, and provide examples of when to use them? 3 Discuss the concept of indexing in DB2. How does it improve query performance?
4 How do you perform a backup and restore in
DB2 to ensure data integrity and availability? 5 How can you monitor and optimize the performance of a DB2 database?