0% found this document useful (0 votes)
11 views5 pages

Dbms Lab 1 230683 Sohaib

The document outlines the first lab experiment for Electrical and Computer Engineering students at Air University, focusing on SQL Server installation and basic commands. It includes objectives, lab tasks, assessment criteria for both lab conduct and report, and a conclusion summarizing the installation process and essential SQL commands. The lab aims to provide students with foundational skills in managing and manipulating databases using SQL Server.

Uploaded by

230683
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)
11 views5 pages

Dbms Lab 1 230683 Sohaib

The document outlines the first lab experiment for Electrical and Computer Engineering students at Air University, focusing on SQL Server installation and basic commands. It includes objectives, lab tasks, assessment criteria for both lab conduct and report, and a conclusion summarizing the installation process and essential SQL commands. The lab aims to provide students with foundational skills in managing and manipulating databases using SQL Server.

Uploaded by

230683
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/ 5

AIR UNIVERSITY

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

EXPERIMENT NO 1

Lab Title SQL Server Installation & Commands Introduction


Student Name: M Sohaib Khan Reg. No: 230683

Objective:

LAB ASSESSMENT:

Excellent Good Average Satisfactory Unsatisfactory


Attributes
(5) (4) (3) (2) (1)
Ability to Conduct
Experiment
Ability to assimilate the
results
Effective use of lab
equipment and follows
the lab safety rules

Total Marks: Obtained Marks:

LAB REPORT ASSESSMENT:


Excellent Good Average Satisfactory Unsatisfactory
Attributes
(5) (4) (3) (2) (1)

Data presentation

Experimental results

Conclusion

Total Marks: Obtained Marks:

Date: Signa
Lab Tasks:

• Create a database with a suitable by using the specified query.

• Create a table named as lab 1 in your database. Choose any relevant


fields of your choice to define the
structure of table. Display the table using select command.

• 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.

You might also like