Guides for Installing MS SQL Server and Creating Your First Database. Please see more guidelines on installing procedure on the class webpage

Similar documents
Guides for Installing MS SQL Server and Creating Your First Database. Please see more guidelines on installing procedure on the class webpage

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's Windows 7.

How to Install Ubuntu on VirtualBox

CST VMWare Documentation

2. install windows vista

Windows Xp User Manual Full Version With Key For Pc

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS.

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

Essbase Installation Tutorial Tim Tow, President and Oracle ACE Director. Applied OLAP, Inc

Steps to install Xubuntu on a Virtual Machine

BACKUP, CLONE OR IMAGE? WHY YOU SHOULD BE INTERESTED

Install Guide Windows 7 Professional 32 Bit Iso

Ubuntu Remove Manually Install Software From Windows 7 Without Disk

Windows 7 Will Not Install On My Computer Run Faster

How To Set User Account Password In Windows 7 From Guest

How To Reset Your Computer To Factory Settings Windows Vista Without Cd

Manually Uninstall Service Pack 1 Win7 7 X64

Windows 7 Will Not Installing Update Shutdown Without

Windows 7 Will Not Load On My Computer Support Hardware Virtualization

Xp Password From Command Prompt

Manual Boot Camp Install From Usb Windows 7 Greyed Out Bootcamp

How to Setup / Access Your

Handbook: Carbonite Safe

CTECS Connect 2.2 Release Notes December 10, 2009

Manually Uninstall Windows 7 Service Pack 1

IN THIS CLASS WE ARE GOING TO LEARN THE BASIC FEATURES OF WINDOWS 8.1 WITH HANDS ON TRAINING THE CLASS WILL RUN ON THE SPEED OF THE AVERAGE STUDENT

Windows 7 Will Not Load On My Computer Says Its

AppWizard Installation/Upgrade Guide (v.4.00)

Manually Uninstall Sql Server 2008 R2 Express Remotely Login

Windows Vista Manual Update Service Pack 2 64 Bit Won't Install

Manually Install Windows Updates Xp On 7 Laptop

Need To Manually Uninstall Vmware Workstation

CIS 231 Windows 10 Install Lab # 3

How Can I Manually Speed Up My Pc Windows Xp Netbook

WA1827 Cloud Programming Workshop. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Building a Successful SQL Server Lab. Ted Krueger Principal Consultant

Written by: Mickey Nguyen

VIRTUAL MACHINES. By Seth Lemanek

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Installation User Guide SMART ACCESS 2.0

Windows 7 Won't Update Says Service Not Running

Trouble Shooting Bulletin 4

Manually Windows Update Vista Not Work In

Due: February 26, 2014, 7.30 PM

Steps To Format Laptop Windows Xp And Install Windows 7 Dell

How To Get Gadgets Windows Vista Faster On Laptop Run

Version Installation Guide. 1 Bocada Installation Guide

Getting Started With Parallels Desktop 14

How To Turn Off System Restore In Windows 7 Home Premium In Safe Mode

USING A FREE VIRTUAL MACHINE TO SIMILATE A SPECIFIC MODEL OF COMPUTER

DVDFab ifonerestore User Manual DVDFab ifonerestore User Manual

Installing the PC-Kits SQL Database

CTEC1863/2018F Bonus Lab Page 1 of 5

Problems Installed Windows 8.1 Update 1 Check If I Have

Manually Windows Update Vista Not Work In

How to make a Work Profile for Windows 10

Windows Update Service Is Not Running Windows 7 Starter

Manually Install Windows Updates Xp From Usb

Burning CDs in Windows XP

Manually Uninstall Service Pack 1 Windows 7 Full

Firefox Manually Update Linux Install Java Plugin Windows Xp

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Windows Xp Sp2 Manual Iso Image Full Original Version

Manual Java Install Mac Os X Mountain Lion On Pc Vmware

When you first launch CrushFTP you may be notified that port 21 is locked. You will be prompted to fix this.

FileWave Server Install and Configuration

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

SCCM 1802 Install Guide using Baseline Media

Handbook: Carbonite Safe

Windows Xp Sp3 Unable To Use Windows Update Not Working

Movavi Mac Cleaner. Download PDF. Not sure where to begin? Read the Quick Start Guide!

SQL Server Standard Edition 2017 Installation Guide. By Engin Calisir, 06/22/2018

Do A Manual System Restore On Windows 8 Hp

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

SAP GUI 7.30 for Windows Computer

Unity 1.0 Troubleshooting Guide

Installation Manual v1.0.2

CIS 231 Windows 2012 R2 Server Install Lab #1

Manually Repair Windows 7 Update Service Not

Windows 7 Read The Manually Installation Driver Automatically

WA2031 WebSphere Application Server 8.0 Administration on Windows. Student Labs. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc.

Cannot Remove Service Pack 1 Windows 7 Full

Manually Uninstall Windows 7 Service Pack 1

Flash Drive Won T Mount Windows 7 Won T Recognize

Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3

How To Force Restore A Computer That Won Boot Up After System

ITunes. itunes works with Windows 2000, XP, Windows Server 2003, Mac OS X and it also works on a few cellular phones.

Lab E2: bypassing authentication and resetting passwords

You can participate in Learning Catalytics with any device that has a browser (laptop, smartphone, or tablet).

Setting up and Connecting to a MSSQL database

On Xp Computer Without Cd Drive

Microsoft's latest OS is a lot better than its predecessor, but it still has some annoying quirks. We help you solve them.

Manual Trigger Sql Server 2008 Examples Update

NetBackup 7.6 Replication Director A Hands On Experience

How To Restore Macbook Pro To Factory Settings Snow Leopard No Disk

How To Install Windows Update Vista Without Cd Hp Laptop To Factory Settings

Hp Officejet 6500 Wireless Won't Scan Mac

Uninstalling And Manually Install Vmware Tools Ubuntu Server 11.04

Transcription:

Guides for Installing MS SQL Server and Creating Your First Database Installing process Please see more guidelines on installing procedure on the class webpage 1. Make sure that you install a server with a matching version of Visual Studio in.net First before installing any SQL Server. Download all the package together either 2016, 2014 or 2012 SQL Server (any edition is fine, not BI for this lab now, you can install it later) Make sure to install every components in the package - ODBC, Server, Clients, gateway,... Name of the Client for MS SQL Server is SQL Server Management Studio. 1. Install Visual Studio 2016 or higher first before installing 2016 SQL Server. Install Visual Studio 2013 or higher first before installing 2014 SQL Server. Note that any old versions of Visual Studio (2010 or 2012 VS) won't work with 2014 SQL Server. The Visual Studio (2013 or 2015 VS) won't work with 2016 SQL Server. 2. 2014 SQL Server won't work that well on Window 8 OS. Recommend it on Window 7 or Window 10. 3. 2016 SQL Server can be installed only on Window 8 or Window 10. It can NOT be installed on Window 7 OS or any lower version. 2. When installing a server, make sure to choose to 1) Follow Window Authentication to login and 2) the SQL server started automatically when your hosting system starts. 3. Check Control panel -> Computer management -> Service to see your SQL server is up and running, if not, start it manually there. 4. Download and Install the Client for MS SQL Server - SQL Server Management Studio. If you don t see SQL Server there in the service list, it means that you didn t install the server in your system. Remove all by uninstalling program (NOT by you manually), then reinstall ALL the components in the package that the DreamSpark site provides. Once everything is installed, then 4. Program -> 2016 or 2014 MS SQL Server, start MS SQL Server Management Studio which is an interface for both the sql server running on your host system and a client where you can type and execute SQL queries. If you need anything else, check MS site (or google it, you will find

the site) for any info to install, everything is there. It will work only when you are a part of an Administration group of the host system. If you install the server in your system and you choose the option that a server get your OS user id and password, by default, your SQL server put your user id into the Admin group. If you are not, try to add yourself into Admin group in the database server in the host system in Control panel -> (Computer) System Management -> User management. For the detail installation steps for 2016 SQL Server or 2014 SQL Server, see the guides in the Lab Section. For the Installation step for 2014 SQL Server step by step: You can find any related info here including Pre-requirement and all the components to install together. http://msdn.microsoft.com/en-us/library/ms143219.aspx https://www.youtube.com/watch?v=p3xcolvnfho For installation step for SQL Management Studio with 2014 SQL Server (Note that this is for an Express version), there is a video guide here. https://www.youtube.com/watch?v=egfdh_d0lys One issue could be coming from installing SQL Server in Window8. Check the site for info. Depending on which one(window 8 or Window 8.1) you are setting up a SQL Server on http://support.microsoft.com/kb/2681562 My suggestion for this issue is choose Window 7 to install to stay away from this kind of issue until they announce a complete solution for the issue. If that is not an option for you, then it is probably worth trying their most recent Service Pack for window 8 provided by their site to see it resolves the issue. Note that apart from the issue with Window 8, even on window 7, you have to match a version of Visual Studio and a version of SQL Server to install. Either 2012 VS with 2012 SQL Server or 2013 VS with 2014 server. They added a lot of new features and changed some design in each 2012 and 2014, so some of them are not compatible to install together. Any SP (Patch work) wouldn't resolve this issue. Your another issue in using SQL Server to create a database: Without knowing what you did in the process of creating a database, I can guess two causes: 1. Which version of SQL Server, try 2014 or 2012. The newest 2015 still seems not be stable. Check your Visual Studio version to match with SQL server. 2. In DreamSpark site, they require you to burn the downloaded into CD, so you install the SQL Server from CD. If you can't burn CD, then install 7-Zip (Make sure you download from a 7-zip site : http://www.7-zip.org/ not to get virus) then you can unzip the downloaded zip file by right clicking on the file to extract.

http://www.7-zip.org/ 3. Your internet security setting to allow Active X There are a lot of instructions and trouble shooting guides for installation, google it to search those that is matching with your version and your OS. In MS TSQL, hitting the Return key is not for Submitting and getting your query Executed. To Submit a Query that toe be executed, issue GO command in the next line or hit the Execute button in your MS SQL Management Studio. You have to change your current database to Company with Use Company; GO after creating the database in the master level. Or setting in SQL management studio overwrites Use command in your query script, so set your current database to Company once you create it in the drop down list on the top corner of the Left side of Management Studio. By default, it is set to master when connect to the server first. At master level, create a database first, which means you have to Execute it first ( either by hitting Execute button or type Go in the next line in your script (script means the query editor where you can write multiple queries then execute them at once) then in a separate query, issue Use database-name you just create. Make sure you got MSG from your server that the database is created, then you can submit Use database command. See the attached scripts help. Just to see how to use USE, GO, Create Database. Don't worry about the rest of the long list of option and alter stats there. One more tip. If you have any installation issues, which are usually coming from version mismatch between the components, no point to try to fix. Most of time, not working. Remove all then freshly reinstall them. Note that you have to let the uninstalling program (by MS ) or Remove Program by your system do all the uninstalling process. Never do it manually. Some Trouble Shooting Tips and guides: Resolution for the Issue being stuck on a step called "Install_WatsonX86_Cpu32_Action" during Installing SQL Server 2014 on a Windows 10 PC Issue: (This issue may not be seen any more) During installing SQL Server 2014 on a Windows 10 PC, the installer got stuck on a step called "Install_WatsonX86_Cpu32_Action" for hours. Resolution: I found that inside Windows Task Manager, there were more than one processes with the name 'Windows Installer' running (attached a screenshot of this below). After restarting the installation process a few times, I decided to end the 'Windows Installer' process when it got stuck. Much to

my amazement, it continued installing past the point of being stuck. I had to do this three more times before it installed fully, each time deleting the extra 'Windows Installer' processes (I attached a picture of this as well). Tips for Errors from Running and Connecting to SQL Server after Installation 1. First, Check it out in Control Panel -> Administrative Tool -> Service to see your SQL Server started. If not, start it manually there. 2. Your server is running but you can't connect to the server, then it is more likely a problem from access control with your user id and pw. Somehow the server can not recognize your id and pw (Assuming that the internet connection on your laptop is good). Make sure that you install it with the option to pick up your user id and pw from your Window OS. 3. If you didn t choose that option when installing or you are not sure then go to Control Panel -> Administrative Tool -> Service then Right Click on your SQL Server then click on Properties -> General or Log On option, then you can change the starting option there as below. 4. Choose Log On menu to change your user id and pw. 5. See Help there or search Online documentation for further detail.

Right Click on SQL SERVER then Click on Properties to get to the following windows:

FAQs on installation of SQL Server Q: I followed the instructions attempting to download the SQL Server standard from the Imagine website but ran into an issue. The earliest version that I am able to find available on the website is 2016, which does not support windows 7. The only computer I have access to runs a windows 7 system. I wanted to make sure that installing the 2014 express edition from the official website would be acceptable. A: Looks like MS just removed all the 2014 SQL server from the Imagine site from this semester. Yes, It is Ok to install 2014 express for now. However, for your study later, there are a few ways to use SQL 2016 server on the given Window 7 when SQL 2016 server can't be installed on Window 7 directly.

2. Get a student account on MS Azure Cloud, they are free, you can set up a SQL server 2016 on VM there. It is already configured, but you will have a chance to explore an Azure option. 3. If your laptop have enough Memory, install Oracle VM with Window 10 and 2016 SQL Server. If this is possible, it will be the exactly same platform. Q: I downloaded Oracle s VirtualBox VM and setup the Windows 10 iso. I gave it 4 GB of memory and 32 GB of fixed disk-space and use it at a scaled, small screen. However, every time I use it, it is extremely glitchy and eventually just freezes until I shut it down. Is there an easy fix or would I be better off to purchase VMWare Fusion or Parallels Desktop? A: Looks like your default memory space (RAM) either for VM and/or your host system is too small. It is a common problem, you need to set up with much more memory and disk space as much as possible. There is a way to increase it when setting up to configure VM. Search for it. No need to buy any VMWare nor a parallel desktop. Q: When I installed Visual Studio enterprise 2017, I have many options that I can select to install such as, game development with unity, and desktop development with C++ and other stuff. I didn't see ANYTHING about SQL server development on that page. I saw an option to install SQL server express on the individual components page but I assume I don't need that as I am already getting SQL server standard. Also the SQL server standard download had no product key, so I cannot install it. The visual studio 2017 has a key but the key does not work for SQL server 2017. I do not know what to do. A: You have to install Visual studio FIRST before installing any SQL Server. You don't need all the options in VS, don't choose the game, or any extra features, it will take up too much memory if you include them. You won't see the SQL server option, it is OK. The product key for each product will be filled automatically by the installer. You should be able to see the different product keys for your VS and your SQL Server when installing them. See the General Installation Guides in the Lab Section for this. Another Naïve Client for SQL Server: SQL Command Line How to bring SQL CMD from a Command Line on Window 1. Run CMD from your Window 2. Bring SQLCMD with a command as below: Sqlcmd s your_user_id/your_sql_server_name

Guidelines for Creating a Database USE master; IF DB_ID('COMPANY') IS NULL CREATE DATABASE COMPANY; GO USE COMPANY; /*

DROP TABLES, SO WE CAN RECREATE THEM */ IF OBJECT_ID('dbo.WORKS_ON') IS NOT NULL DROP TABLE dbo.works_on; IF OBJECT_ID('dbo.DEPT_LOCATIONS') IS NOT NULL DROP TABLE dbo.dept_locations; IF OBJECT_ID('dbo.PROJECT') IS NOT NULL DROP TABLE dbo.project; IF OBJECT_ID('dbo.DEPARTMENT') IS NOT NULL BEGIN ALTER TABLE dbo.employee DROP CONSTRAINT FK_EMPLOYEE_DNO; DROP TABLE dbo.department; END IF OBJECT_ID('dbo.DEPENDENT') IS NOT NULL DROP TABLE dbo.dependent; IF OBJECT_ID('dbo.EMPLOYEE') IS NOT NULL DROP TABLE dbo.employee; GO