Tutorial: How to Use SQL Server Management Studio from Home



Similar documents
TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Wireless Network Configuration Guide

MSSQL quick start guide

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

Contents. VPN Instructions. VPN Instructions... 1

Installation Guide Revision 1.0.

Installing and Configuring SQL Express 2008 R2 for Supply Chain Guru

User Guide for eduroam

FUSION Installation Guide

Junos Pulse VPN Client Installation

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Avatier Identity Management Suite

Installation Guide for Microsoft SQL Server 2008 R2 Express. October 2011 (GUIDE 1)

Installing and Trouble-Shooting SmartSystems

Network Connect Installation and Usage Guide

Windows XP Exchange Client Installation Instructions

Automatic Setup... 1 Manual Setup... 2 Installing the Wireless Certificates... 18

Remote Terminal Service (RTS) User Guide (Version 2.1)

QUT PRINTING SERVICES. Printing from your laptop. Connect your laptop to the student print queue

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

CPS VPN Client Installation Guide

How To Install A New Database On A 2008 R2 System With A New Version Of Aql Server 2008 R 2 On A Windows Xp Server 2008 (Windows) R2 (Windows Xp) (Windows 8) (Powerpoint) (Mysql

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

How to Configure Outlook Client for Exchange

EASRestoreService. Manual

SQL Server 2008 R2 Express Installation for Windows 7 Professional, Vista Business Edition and XP Professional.

Bloomfield Hills Schools VPN and Viewconnect Instructions

Phone: Fax: Box: 230

TROUBLESHOOTING INFORMATION

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

PRIME Installation Guide

SQL Server 2008 R2 Express Edition Installation Guide

Nexio Connectus with Nexio G-Scribe

ODBC Driver Version 4 Manual

Nortel VPN Client. Customer Care Center Office of Enterprise Technology (OET) for Windows Vista 64-bit Operating System

Synchronization with Microsoft Team Foundation Server 2010

Getting Started with ODM

Phone: Fax: Box: 230

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Magento Extension Point of Sales User Manual Version 1.0

How to Copy A SQL Database SQL Server Express (Making a History Company)

Connection to USOE Terminal Server 3/30/2006

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Print Audit 6 - SQL Server 2005 Express Edition

CruzNet Secure Set-Up Instructions for Windows Vista

Scheduler for Outlook User s Guide

Proval LS Database & Client Software (Trial or Full) Installation Guide

Configuration Guide for SQL Server This document explains the steps to configure LepideAuditor Suite to add and audit SQL Server.

How do I Install and Use the Cisco VPN Any Connect Client for the Berkeley Campus?

VITAL SIGNS Quick Start Guide

Training module 2 Installing VMware View

Installing SQL Server Express 2008 Version /08/05 sdk

ThinManager and Active Directory

Using SQL Server Management Studio

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

How to Set Up Outlook 2007 and Outlook 2010 for Hosted Microsoft Exchange if the Program is Already Installed

Telelogic DASHBOARD Installation Guide Release 3.6

KETS Enterprise VPN. Client Installation and Configuration Guide. Version 2.3

Windows Vista: Connecting to the wireless network at Hood College

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

4cast Server Specification and Installation

GUARD1 PLUS SE Administrator's Manual

Level 3 SM Connect Outlook Add-In User Guide Level 3 Communications, Inc. All rights reserved.

Connecting to Remote Desktop Windows Users

University Computing & Telecommunications Virtual Private Networking: How To/Self- Help Guide Windows 8.1 Operating System.

Microsoft Business Intelligence 2012 Single Server Install Guide

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Connecting to the FILTER Virtual Private Network (VPN)

Using. Microsoft Virtual PC. Page 1

Connecting to the University Wireless Network

SiteCount v2.0 Revised: 10/30/2009

Concession FTP User Guide May 2011 Version 1.2

Configuring Outlook for IMAP. Creating a New IMAP Account. Modify an Existing Account

700 Fox Glen Barrington, Illinois ph: [847] fx: [847]

Microsoft Outlook Setup With Exchange Server. Outlook

ICT DEPARTMENT. Windows 7. Wireless Authentication Procedures for Windows 7 & 8 Users For Linux and windows XP users visit ICT office

MONAHRQ Installation Permissions Guide. Version 2.0.4

Quick Start Guide. User Manual. 1 March 2012

Accessing vlabs using the VMware Horizon View Client for OSX

BSDI Advanced Fitness & Wellness Software

Lepide Exchange Recovery Manager

How to Connect to YaleSecure (Yale s secure wireless network)

Edith Cowan University Information Technology Services Centre

Connecting to Delta College Exchange services off-campus

Prerequisites Guide. Version 4.0, Rev. 1

Using MS-SQL Server with Visual DataFlex March, 2009

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

Richmond Systems. SupportDesk Quick Start Guide

Microsoft Corporation. Project Server 2010 Installation Guide

How to Set Up Your. Account

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

SmartConnect User Credentials 2012

QUANTIFY INSTALLATION GUIDE

Safety and Health Grant Program Database Remote Access Installation Guide

Transcription:

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 AUTHORITY\NETWORK 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.edu\CIDM3350SP2012 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