Dbms Lab 1 230683 Sohaib
Dbms Lab 1 230683 Sohaib
EXPERIMENT NO 1
Objective:
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Date: Signa
Lab Tasks:
• Write down a query that displays the current of date and time of your
PC.
PICTURES
(1)
2
Air University, Islamabad DBMS LAB
Lab
Brief Explaination
When I came into main menu I press ctrl + N to open a new window, I created a table by using keyword
“create table “ and gave it a name Lab 1 then inside parenthesis I gave headings of the table like name ,
roll no employee etc and defined its data types like varchar(used for string) and int (used for integers)
and then also gave it a limit of 255, you can set it as per requirements. And there is buit-in function
which I called as well.
PICTURES
(2)
3
Brief Explaination
Open new window and here we will insert an organized data using a query “insert into” into Lab_1
Table . After righting keyword insert into command Inside parenthesis I just entered the name roll no,
department name , batch and time of window using calling function Get Date() function
4
Air University, Islamabad DBMS LAB
Lab
Conclusion :
In this lab report, we explored the fundamental steps required for installing SQL Server and executing
basic SQL commands. The installation process involves downloading the SQL Server from the official
Microsoft website, running the installer, and following the Installation Wizard to configure the
instance. Once installed, SQL Server Management Studio (SSMS) can be used to manage and interact
with databases.
We demonstrated essential SQL commands such as SELECT, INSERT, UPDATE, DELETE, CREATE TABLE,
and DROP TABLE. These commands provide the foundation for interacting with and manipulating data
within a SQL Server database. By following the steps outlined in this lab, users can set up a functional
SQL Server environment and perform basic database operations, laying the groundwork for more
advanced database management and querying techniques.