0% found this document useful (0 votes)
14 views

Databaselab 1

Uploaded by

210316
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Databaselab 1

Uploaded by

210316
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

AIR UNIVERSITY

DEPARTMENT OF ELECTRICAL AND COMPUTER


ENGINEERING
LAB TITLE: Spatial Domain Processing

Student Name: Muhammad Bilal Reg. No: 210316

Objective: The objective of this lab is to implement spatial domain


enhancement
Piecewise linear transformation and functions

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: 15/03/2024 Signature:


LAB#01
TITLE: SQL Server Installation & Command Instructions

SQL Server 2008 R2 Installation and Commands


Introduction:
Using the following steps, install SQL Server 2000 in your PC’s
Server Editions of SQL Server 2008:
The following table describes the server editions of SQL Server 2008:

Term Definition

Enterprise SQL Server Enterprise is a comprehensive data platform


(x86, x64,and that provides enterprise-class scalability, performance,
IA64)1 high availability, and advanced business intelligence
capabilities for running secure, business-critical
applications. For more information, see Features
Supported by the Editions of SQL Server 2008.

Standard (x86
and x64) SQL Server Standard is a complete data platform that
provides ease of use and manageability. This includes
built-in business intelligence capabilities to run
departmental applications. For more information, see
Features Supported by the Editions of SQL Server 2008.
SQL Server Standard for Small Business includes all of
the technical components and capabilities of SQL
Server Standard and is licensed to operate in a small
business environment of 75 or fewer computers.
SQL Server
SQL Server Express is free and can be redistributed by
Express
ISV's (subject to agreement). SQL Server Express is
(x86 and x64)
ideal for learning and building desktop and small server
applications. This edition is the best choice for
independent software vendors, non-professional
SQL Server developers, and hobbyists building client applications.
Express with If you need more advanced database features, SQL
Advanced Server Express can be seamlessly upgraded to more
sophisticated versions of SQL Server.

Services (x86
SQL Server Express is free and can be redistributed by
and x64)
ISV's (subject to agreement). SQL Server Express is
ideal for learning and building desktop and small server
applications. This edition is the best choice for
independent software vendors, non-professional
developers, and hobbyists building client applications.
If you need more advanced database features, SQL
Server Express can be seamlessly upgraded to more
sophisticated versions of SQL Server.

SQL Server Components:


Server
component
s Description

SQL Server SQL Server Database Engine includes the Database Engine, the core
Database service for storing, processing, and securing data, Replication, full-text
Engine search, and tools for managing relational and XML data.

Analysis Analysis Services includes the tools for creating and managing online
Services analytical processing (OLAP) and data mining applications.
Reporting Reporting Services includes server and client components for creating,
Services managing, and deploying tabular, matrix, graphical, and free-form
reports. Reporting Services is also an extensible platform that you can
use to develop report applications.

Integration Integration Services is a set of graphical tools and programmable


Services objects for moving, copying, and transforming data.

SQL Management tools:


Managemen
t
tools Description
SQL Server
SQL Server Management Studio is an integrated environment to
Managemen
access, configure, manage, administer, and develop components of
t
SQL Server. Management Studio lets developers and administrators
Studio
of all skill levels use SQL Server. Internet Explorer 6 SP1 or a later
version is required for Management Studio installation.

SQL Server SQL Server Configuration Manager provides basic configuration


Configuration management for SQL Server services, server protocols, client
Manager protocols, and client aliases.
SQL Server
Installation SQL Server Installation Centre is used for the installation of new
Centre Instances, Up gradating and updating the SQL Server.

Installation of SQL Server:


Installing SQL Server 2008 Express Edition
To install Microsoft SQL Server 2008 Express Edition, follow these steps:
Run the setup file through the administrative account. The Microsoft SQL Server 2008
Installation Center will begin
1. Select the “New Installation” Feature.
2. In this Feature Selection Wizard Select all of the features and click the Next button.
3. In this Instance Configuration select the Default Instance option and click Next
button.
4. Click Next
5. In this Database Engine Configuration select the Windows Authentication Mode and
click Next button.
6. Installation will progress and setup will complete installation automatically. Just wait
and watch.
7. From the Setup Complete window, click Close.
Now go to the Start menu and Search SQL Server Management Studio. A new window will
be opened. Connect to the server.
Now place the following sample code in the query window, run it and see the output:

On the left side you will see databases named master etc. On clicking any of the database,
you’ll see default tables in that database. You can also right click on any of the table and
select ‘return all rows’ to see the entire values in the table. But you have to create your own
database with your own name. Run the following query by pressing F5 key:

Remember…!! SQL is not case sensitive.


Are you able to see the database created…???
If no, then refresh the services again…!!

Now create the table in the above created database using the CREATE TABLE command:

Suppose if you want to create a following table

You’ll have to run the following query:


Run the query and see the results.
Was the table created named STUDENT….???
In order to verify the results, run the following query:

Lab Tasks:
Task1:
Create a database with a suitable by using the specified query.
Code:

Output:

Task2:
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.
Code:

Output:
Task3:
Write down a query that displays current date and time of your pc
Code:

Output:

Conclusion:
In conclusion, the SQL Server installation and command execution lab provided
valuable hands-on experience with setting up a robust database management system
and using SQL commands for data manipulation and management. Through the
installation process, key configurations were learned, ensuring proper environment
setup for future database operations. Additionally, practicing essential SQL
commands, such as creating databases, tables, and performing queries, reinforced an
understanding of how SQL Server functions to store, retrieve, and manage data
efficiently. This lab highlighted the importance of SQL Server in enterprise database
solutions and its role in handling complex datasets.

You might also like