SlideShare a Scribd company logo
1 of 31
Download to read offline
Tutorial: How to Use SQL
Server Management Studio from Home
Steps:
1. Assess the Environment
2. Set up the Environment
3. Download Microsoft SQL Server Express Edition
4. Install Microsoft SQL Server Express Edition
5. Use the VPN Client to Connect to the CIDM Domain
6. Connect to the CIDM SQL Server Instance and Test
Step One: Assess the Environment
One of the most important things to do before you begin installing SQL Server Management Studio is
checking to see if your computer is running a 32-bit or 64-bit Operating System. You can do this by
following the instructions below:
1. Go to the “Start” button at the bottom left side of your screen if you are using Windows XP. If
you are using Windows 7 or Windows Vista click on the ribbon at the bottom left part of
your screen.
2. Right click on “My Computer” and click on “Properties”.
3. Under “Systems” you should be able to see whether your operating system is 32 or 64-bit as
shown in the images below.
Note: if you are using Windows XP and under systems it does not say whether it is X86 or X64, chances
are it is X86 (X86 means 32 bit while X64 means 64 bit).
Windows 7 and Vista should look like this:
Windows XP should look like this:
Step Two: Set up the Environment
You need to have ATLEAST Microsoft.Net Framework 3.5 Sp1, Windows Installer 4.5 and Windows
Powershell 1.0 on your computer before installing Microsoft SQL Server 2008 Management Studio. You
can download and install the above mentioned by following the links below:
a) First download and install Windows Installer 4.5 by clicking on the link below:
http://go.microsoft.com/fwlink/?LinkId=123422
b) Next download and install Microsoft .Net Framework 3.5 SP1 by clicking on the link below:
http://go.microsoft.com/fwlink/?LinkId=120550
c) Lastly, download and install Windows PowerShell 1.0 by clicking on the link below:
http://go.microsoft.com/fwlink/?LinkId=120552
Step Three: Downloading Microsoft SQL
Server Express Edition
1. To download Microsoft SQL Server 2008 Management Studio, go to the Microsoft website by
clicking on this link: http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
2. On the right hand side of the page you will get an option to select the type of SQL Server Express
you want to download i.e. 32bit or 64bit; with or without tools as shown in figure 3.1
3. Select 32bit or 62bit depending on the kind of operating system that you have(if you do not
know how many bit your operating system is please refer to “Assess the Environment” in Step
One above). Also, make sure you select SQL Express with tools i.e. W/TOOLS. So for example if
you have a 32bit XP computer than you would download “2008 R2 32-BIT DATABASE W/TOOLS”.
4. On the next page click on the “Download Now” button.
5. Save the executable file to your hard drive.
Step Four: Installing Microsoft SQL
Server Express Edition
1. Double click on the executable file that you just downloaded and you will see the following
screen:
2. Click on Installation link on the left hand corner of the screen and you should see the following
screen:
3. On the next screen read the contract and check “I accept the license terms” and click next.
4. Make sure all the features are select as shown in the image below and click next :
5. On the next screen select the “Default Instance” radio button then click next as shown below:
6. On the next screen select “NT AUTHORITYNETWORK SERVICE” for the “SQL Server Database
Engine” Service and click next as shown below:
7. On the next screen select the “Mixed Mode (SQL Server authentication and Windows
authentication)” radio button and enter a new password that you will easily remember. Then
click next as shown below:
8. On the next page you may choose to send windows error reports if you wish to, this is not
mandatory, you can choose to check or uncheck the checkbox and then click next as shown
below:
9. SQL Server will begin to install at this point. Once SQL Server has been installed successfully you
will see a screen similar to the one below:
10. Click “Close”
Step Five: Download the VPN Client and
Connect to the CIS Domain
1. Click on the link: https://connect.wtamu.edu/+CSCOE+/logon.html . You should see the screen
below:
2. Enter your student username and password i.e. this is the same as the credentials you use to
access WTCLASS.
3. If you are using Windows 7 or Windows Vista the security warning like the one below should
show up, click “Allow”
4. The client should download automatically, but if it does not, click on the “Download” button.
5. If the client was downloaded successfully you should see a sign at the bottom right
corner of your screen (on the tray). You should also see a screen similar to the one below:
Step Six: Connecting to the Server and
Test
1. Once SQL server has been installed successfully start it up by going to Start > All Programs >
Microsoft SQL Server 2008 R2 > SQL Server Management Studio. You should see a screen similar
to the one below:
2. To connect to the server:
a) Select “Database Engine” for the Server Type.
b) Type “WTCIS-STUDB.cis.wtamu.eduCIDM3350SP2012” for
the Server Name.
c) Select “SQL Server Authentication” for Authentication.
d) The login is your first initial and your last name together. So, if your name is John Doe then your
login will be jdoe. The password is the same as the one you set at your first login.
The screen should look similar to the one below but with your login and password:
3. Once you are logged in you should see a screen similar to the one below:
4. Click on Databases and you should see all the available databases.
5. Look for the database with your name and click on the plus sign next to it:
6. Click on the plus sign next to “Tables” to view the all the tables you have, at this point you
should have non as shown in the picture below:
Writing and Executing SQL Commands
1. To execute a query, right click on the schema that has your name on it and select “New Query:
2. You should see a white space in the middle of the screen as shown below:
3. You can now type SQL statements in the area provided in the middle. After putting in your SQL
statements highlight it, right click on the highlighted part and click “Execute”
Examples:
Below are examples that show you how to Create a table, Alter a table, Insert Into a table, Delete from a
table and Drop a table.
a. Create Table
create Table test_student
(
S_ID int NOT NULL,
Fname varchar(250),
Lname varchar(250),
addresses varchar(250),
)
b. Add Primary Key
ALTER TABLE test_student
ADD PRIMARY KEY (S_ID)
c. Insert Data
INSERT INTO test_student(S_ID,Fname,Lname,addresses)
VALUES (1,'John','Doe','79015')
d. Select Data
Select * FROM test_student WHERE S_ID = 1
From home sql_server_tutorials

More Related Content

What's hot

ViewToo user_manual(1.0.0)_en
ViewToo user_manual(1.0.0)_enViewToo user_manual(1.0.0)_en
ViewToo user_manual(1.0.0)_enJiransoft
 
Close backgrown program
Close backgrown programClose backgrown program
Close backgrown programwasim liam
 
Windows Live Essentials Release Notes Qfe
Windows Live Essentials Release Notes QfeWindows Live Essentials Release Notes Qfe
Windows Live Essentials Release Notes Qfekarmin76
 
Rainbow installation
Rainbow installationRainbow installation
Rainbow installationpedroneto1137
 
How to Fix Windows 8 Crashes
How to Fix Windows 8 CrashesHow to Fix Windows 8 Crashes
How to Fix Windows 8 CrashesVikas Medhekar
 
How to install sql server 2008 step by step on windows 7 (32 64 bit)
How to install sql server 2008 step by step on windows 7 (32 64 bit)How to install sql server 2008 step by step on windows 7 (32 64 bit)
How to install sql server 2008 step by step on windows 7 (32 64 bit)Khaliq ur Rehman
 
Delegating Active Directory Permission to Reset Passwords
Delegating Active Directory Permission to Reset PasswordsDelegating Active Directory Permission to Reset Passwords
Delegating Active Directory Permission to Reset PasswordsTravis Kench
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughLiquidHub
 
Wfc878r eop hwsg_npd6407-00_en
Wfc878r eop hwsg_npd6407-00_enWfc878r eop hwsg_npd6407-00_en
Wfc878r eop hwsg_npd6407-00_enHerrySyafitri
 
Be twin vs_qs
Be twin vs_qsBe twin vs_qs
Be twin vs_qsunad
 
applenium user guide
applenium user guideapplenium user guide
applenium user guideMaxim Guenis
 
eFileCabinet Secure Drawer User Manual
eFileCabinet Secure Drawer User ManualeFileCabinet Secure Drawer User Manual
eFileCabinet Secure Drawer User ManualeFileCabinet
 
How to Install Windows 10, 8 and 7 Without USB Drive or DVD
How to Install Windows 10, 8 and 7 Without USB Drive or DVDHow to Install Windows 10, 8 and 7 Without USB Drive or DVD
How to Install Windows 10, 8 and 7 Without USB Drive or DVDViney Dhiman
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installationIT eLearn
 
Online Biz Smarts Windows 8.0 Why and How
Online Biz Smarts Windows 8.0 Why and HowOnline Biz Smarts Windows 8.0 Why and How
Online Biz Smarts Windows 8.0 Why and HowOnlineBizSmarts.com
 

What's hot (19)

ViewToo user_manual(1.0.0)_en
ViewToo user_manual(1.0.0)_enViewToo user_manual(1.0.0)_en
ViewToo user_manual(1.0.0)_en
 
Close backgrown program
Close backgrown programClose backgrown program
Close backgrown program
 
Pro user-guide
Pro user-guidePro user-guide
Pro user-guide
 
Windows Live Essentials Release Notes Qfe
Windows Live Essentials Release Notes QfeWindows Live Essentials Release Notes Qfe
Windows Live Essentials Release Notes Qfe
 
Win7 settings
Win7 settingsWin7 settings
Win7 settings
 
Rainbow installation
Rainbow installationRainbow installation
Rainbow installation
 
How to Fix Windows 8 Crashes
How to Fix Windows 8 CrashesHow to Fix Windows 8 Crashes
How to Fix Windows 8 Crashes
 
How to install sql server 2008 step by step on windows 7 (32 64 bit)
How to install sql server 2008 step by step on windows 7 (32 64 bit)How to install sql server 2008 step by step on windows 7 (32 64 bit)
How to install sql server 2008 step by step on windows 7 (32 64 bit)
 
Delegating Active Directory Permission to Reset Passwords
Delegating Active Directory Permission to Reset PasswordsDelegating Active Directory Permission to Reset Passwords
Delegating Active Directory Permission to Reset Passwords
 
640 722
640 722640 722
640 722
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Wfc878r eop hwsg_npd6407-00_en
Wfc878r eop hwsg_npd6407-00_enWfc878r eop hwsg_npd6407-00_en
Wfc878r eop hwsg_npd6407-00_en
 
Be twin vs_qs
Be twin vs_qsBe twin vs_qs
Be twin vs_qs
 
SCCM HOw to
SCCM HOw toSCCM HOw to
SCCM HOw to
 
applenium user guide
applenium user guideapplenium user guide
applenium user guide
 
eFileCabinet Secure Drawer User Manual
eFileCabinet Secure Drawer User ManualeFileCabinet Secure Drawer User Manual
eFileCabinet Secure Drawer User Manual
 
How to Install Windows 10, 8 and 7 Without USB Drive or DVD
How to Install Windows 10, 8 and 7 Without USB Drive or DVDHow to Install Windows 10, 8 and 7 Without USB Drive or DVD
How to Install Windows 10, 8 and 7 Without USB Drive or DVD
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 
Online Biz Smarts Windows 8.0 Why and How
Online Biz Smarts Windows 8.0 Why and HowOnline Biz Smarts Windows 8.0 Why and How
Online Biz Smarts Windows 8.0 Why and How
 

Viewers also liked

Web services-synchronous-or-asynchronous
Web services-synchronous-or-asynchronousWeb services-synchronous-or-asynchronous
Web services-synchronous-or-asynchronousAravindharamanan S
 
Soa amsterdam-restws-pautasso-talk
Soa amsterdam-restws-pautasso-talkSoa amsterdam-restws-pautasso-talk
Soa amsterdam-restws-pautasso-talkAravindharamanan S
 
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...Aravindharamanan S
 
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...Aravindharamanan S
 
Toward the next generation of recommender systems
Toward the next generation of recommender systemsToward the next generation of recommender systems
Toward the next generation of recommender systemsAravindharamanan S
 
Yoda an accurate and scalable web based recommendation systems
Yoda an accurate and scalable web based recommendation systemsYoda an accurate and scalable web based recommendation systems
Yoda an accurate and scalable web based recommendation systemsAravindharamanan S
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-servicesAravindharamanan S
 
Collaborative recommender systems for building automation
Collaborative recommender systems for building automationCollaborative recommender systems for building automation
Collaborative recommender systems for building automationAravindharamanan S
 
Visual studio-2012-product-guide
Visual studio-2012-product-guideVisual studio-2012-product-guide
Visual studio-2012-product-guideAravindharamanan S
 

Viewers also liked (16)

Web services-synchronous-or-asynchronous
Web services-synchronous-or-asynchronousWeb services-synchronous-or-asynchronous
Web services-synchronous-or-asynchronous
 
Soa amsterdam-restws-pautasso-talk
Soa amsterdam-restws-pautasso-talkSoa amsterdam-restws-pautasso-talk
Soa amsterdam-restws-pautasso-talk
 
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...
Ppt bigdataanalyticsfinanceprofessionals-big data, business analytics and fin...
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
 
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...
Big data -_14._maerz_mitarbeiterforschung_kundenevent_v2.pptx__schreibgeschue...
 
Cs583 recommender-systems
Cs583 recommender-systemsCs583 recommender-systems
Cs583 recommender-systems
 
Recommender systems
Recommender systemsRecommender systems
Recommender systems
 
Toward the next generation of recommender systems
Toward the next generation of recommender systemsToward the next generation of recommender systems
Toward the next generation of recommender systems
 
Yoda an accurate and scalable web based recommendation systems
Yoda an accurate and scalable web based recommendation systemsYoda an accurate and scalable web based recommendation systems
Yoda an accurate and scalable web based recommendation systems
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-services
 
Collaborative recommender systems for building automation
Collaborative recommender systems for building automationCollaborative recommender systems for building automation
Collaborative recommender systems for building automation
 
Jax ws
Jax wsJax ws
Jax ws
 
Android programming-basics
Android programming-basicsAndroid programming-basics
Android programming-basics
 
Android dev 3
Android dev 3Android dev 3
Android dev 3
 
Soap binding survey
Soap binding surveySoap binding survey
Soap binding survey
 
Visual studio-2012-product-guide
Visual studio-2012-product-guideVisual studio-2012-product-guide
Visual studio-2012-product-guide
 

Similar to From home sql_server_tutorials

How to-install-sql-server-2008
How to-install-sql-server-2008How to-install-sql-server-2008
How to-install-sql-server-2008arungnath
 
My sql installationguide_windows
My sql installationguide_windowsMy sql installationguide_windows
My sql installationguide_windowsNishant Upadhyay
 
Sqlserver 2012 installation step by step
Sqlserver 2012 installation step by stepSqlserver 2012 installation step by step
Sqlserver 2012 installation step by stepOracle Apps DBA
 
Web services in asp.net
Web services in asp.netWeb services in asp.net
Web services in asp.netDharma Raju
 
Installation guide for mysql in windows
Installation guide for mysql in windowsInstallation guide for mysql in windows
Installation guide for mysql in windowssharavanakumar10
 
How to install share point 2010
How to install share point 2010How to install share point 2010
How to install share point 2010moorthiameks
 
codeit_pre-training kit.pptx
codeit_pre-training kit.pptxcodeit_pre-training kit.pptx
codeit_pre-training kit.pptxRuvelAlbino1
 
Fix Shockwave Flash Crashes
Fix Shockwave Flash CrashesFix Shockwave Flash Crashes
Fix Shockwave Flash CrashesVikas Medhekar
 
Dot Net environment setup and Installation
Dot Net environment setup and InstallationDot Net environment setup and Installation
Dot Net environment setup and Installatione-visionlabs
 
Netflix Error n8010
Netflix Error n8010Netflix Error n8010
Netflix Error n8010pingky29
 
Sql Server 2012 Installation..
Sql Server 2012 Installation..Sql Server 2012 Installation..
Sql Server 2012 Installation..Anand Kumar Rajana
 
SOP - 2013 Server Build
SOP - 2013 Server BuildSOP - 2013 Server Build
SOP - 2013 Server BuildRobert Jones
 
Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Azharul Islam Shopon
 

Similar to From home sql_server_tutorials (20)

How to-install-sql-server-2008
How to-install-sql-server-2008How to-install-sql-server-2008
How to-install-sql-server-2008
 
HAPPYSQL GUIDE
HAPPYSQL GUIDEHAPPYSQL GUIDE
HAPPYSQL GUIDE
 
My sql installationguide_windows
My sql installationguide_windowsMy sql installationguide_windows
My sql installationguide_windows
 
Oracle install
Oracle installOracle install
Oracle install
 
FailOver Clustring
FailOver ClustringFailOver Clustring
FailOver Clustring
 
Sqlserver 2012 installation step by step
Sqlserver 2012 installation step by stepSqlserver 2012 installation step by step
Sqlserver 2012 installation step by step
 
Web services in asp.net
Web services in asp.netWeb services in asp.net
Web services in asp.net
 
Installation guide for mysql in windows
Installation guide for mysql in windowsInstallation guide for mysql in windows
Installation guide for mysql in windows
 
How to install share point 2010
How to install share point 2010How to install share point 2010
How to install share point 2010
 
codeit_pre-training kit.pptx
codeit_pre-training kit.pptxcodeit_pre-training kit.pptx
codeit_pre-training kit.pptx
 
Fix Shockwave Flash Crashes
Fix Shockwave Flash CrashesFix Shockwave Flash Crashes
Fix Shockwave Flash Crashes
 
Dot Net environment setup and Installation
Dot Net environment setup and InstallationDot Net environment setup and Installation
Dot Net environment setup and Installation
 
Microsoft Lync Server 2010 Installation
Microsoft Lync Server 2010 InstallationMicrosoft Lync Server 2010 Installation
Microsoft Lync Server 2010 Installation
 
Netflix Error n8010
Netflix Error n8010Netflix Error n8010
Netflix Error n8010
 
Window
WindowWindow
Window
 
Sql Server 2012 Installation..
Sql Server 2012 Installation..Sql Server 2012 Installation..
Sql Server 2012 Installation..
 
SOP - 2013 Server Build
SOP - 2013 Server BuildSOP - 2013 Server Build
SOP - 2013 Server Build
 
Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10
 
SCCM2012-UserGuide
SCCM2012-UserGuideSCCM2012-UserGuide
SCCM2012-UserGuide
 
2. install os
2. install os2. install os
2. install os
 

Recently uploaded

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

From home sql_server_tutorials

  • 1. Tutorial: How to Use SQL Server Management Studio from Home Steps: 1. Assess the Environment 2. Set up the Environment 3. Download Microsoft SQL Server Express Edition 4. Install Microsoft SQL Server Express Edition 5. Use the VPN Client to Connect to the CIDM Domain 6. Connect to the CIDM SQL Server Instance and Test
  • 2. Step One: Assess the Environment One of the most important things to do before you begin installing SQL Server Management Studio is checking to see if your computer is running a 32-bit or 64-bit Operating System. You can do this by following the instructions below: 1. Go to the “Start” button at the bottom left side of your screen if you are using Windows XP. If you are using Windows 7 or Windows Vista click on the ribbon at the bottom left part of your screen. 2. Right click on “My Computer” and click on “Properties”. 3. Under “Systems” you should be able to see whether your operating system is 32 or 64-bit as shown in the images below. Note: if you are using Windows XP and under systems it does not say whether it is X86 or X64, chances are it is X86 (X86 means 32 bit while X64 means 64 bit).
  • 3. Windows 7 and Vista should look like this:
  • 4. Windows XP should look like this:
  • 5. Step Two: Set up the Environment You need to have ATLEAST Microsoft.Net Framework 3.5 Sp1, Windows Installer 4.5 and Windows Powershell 1.0 on your computer before installing Microsoft SQL Server 2008 Management Studio. You can download and install the above mentioned by following the links below: a) First download and install Windows Installer 4.5 by clicking on the link below: http://go.microsoft.com/fwlink/?LinkId=123422 b) Next download and install Microsoft .Net Framework 3.5 SP1 by clicking on the link below: http://go.microsoft.com/fwlink/?LinkId=120550 c) Lastly, download and install Windows PowerShell 1.0 by clicking on the link below: http://go.microsoft.com/fwlink/?LinkId=120552
  • 6. Step Three: Downloading Microsoft SQL Server Express Edition 1. To download Microsoft SQL Server 2008 Management Studio, go to the Microsoft website by clicking on this link: http://www.microsoft.com/sqlserver/en/us/editions/express.aspx 2. On the right hand side of the page you will get an option to select the type of SQL Server Express you want to download i.e. 32bit or 64bit; with or without tools as shown in figure 3.1
  • 7. 3. Select 32bit or 62bit depending on the kind of operating system that you have(if you do not know how many bit your operating system is please refer to “Assess the Environment” in Step One above). Also, make sure you select SQL Express with tools i.e. W/TOOLS. So for example if you have a 32bit XP computer than you would download “2008 R2 32-BIT DATABASE W/TOOLS”. 4. On the next page click on the “Download Now” button. 5. Save the executable file to your hard drive.
  • 8. Step Four: Installing Microsoft SQL Server Express Edition 1. Double click on the executable file that you just downloaded and you will see the following screen:
  • 9. 2. Click on Installation link on the left hand corner of the screen and you should see the following screen:
  • 10. 3. On the next screen read the contract and check “I accept the license terms” and click next.
  • 11. 4. Make sure all the features are select as shown in the image below and click next :
  • 12. 5. On the next screen select the “Default Instance” radio button then click next as shown below:
  • 13. 6. On the next screen select “NT AUTHORITYNETWORK SERVICE” for the “SQL Server Database Engine” Service and click next as shown below:
  • 14. 7. On the next screen select the “Mixed Mode (SQL Server authentication and Windows authentication)” radio button and enter a new password that you will easily remember. Then click next as shown below:
  • 15. 8. On the next page you may choose to send windows error reports if you wish to, this is not mandatory, you can choose to check or uncheck the checkbox and then click next as shown below:
  • 16. 9. SQL Server will begin to install at this point. Once SQL Server has been installed successfully you will see a screen similar to the one below: 10. Click “Close”
  • 17. Step Five: Download the VPN Client and Connect to the CIS Domain 1. Click on the link: https://connect.wtamu.edu/+CSCOE+/logon.html . You should see the screen below: 2. Enter your student username and password i.e. this is the same as the credentials you use to access WTCLASS.
  • 18. 3. If you are using Windows 7 or Windows Vista the security warning like the one below should show up, click “Allow” 4. The client should download automatically, but if it does not, click on the “Download” button. 5. If the client was downloaded successfully you should see a sign at the bottom right corner of your screen (on the tray). You should also see a screen similar to the one below:
  • 19. Step Six: Connecting to the Server and Test 1. Once SQL server has been installed successfully start it up by going to Start > All Programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio. You should see a screen similar to the one below:
  • 20. 2. To connect to the server: a) Select “Database Engine” for the Server Type. b) Type “WTCIS-STUDB.cis.wtamu.eduCIDM3350SP2012” for the Server Name. c) Select “SQL Server Authentication” for Authentication. d) The login is your first initial and your last name together. So, if your name is John Doe then your login will be jdoe. The password is the same as the one you set at your first login. The screen should look similar to the one below but with your login and password:
  • 21. 3. Once you are logged in you should see a screen similar to the one below:
  • 22. 4. Click on Databases and you should see all the available databases.
  • 23. 5. Look for the database with your name and click on the plus sign next to it:
  • 24. 6. Click on the plus sign next to “Tables” to view the all the tables you have, at this point you should have non as shown in the picture below:
  • 25. Writing and Executing SQL Commands 1. To execute a query, right click on the schema that has your name on it and select “New Query:
  • 26. 2. You should see a white space in the middle of the screen as shown below:
  • 27. 3. You can now type SQL statements in the area provided in the middle. After putting in your SQL statements highlight it, right click on the highlighted part and click “Execute” Examples: Below are examples that show you how to Create a table, Alter a table, Insert Into a table, Delete from a table and Drop a table. a. Create Table create Table test_student ( S_ID int NOT NULL, Fname varchar(250), Lname varchar(250), addresses varchar(250), )
  • 28. b. Add Primary Key ALTER TABLE test_student ADD PRIMARY KEY (S_ID)
  • 29. c. Insert Data INSERT INTO test_student(S_ID,Fname,Lname,addresses) VALUES (1,'John','Doe','79015')
  • 30. d. Select Data Select * FROM test_student WHERE S_ID = 1