• Home
  • About
  • Contact
  • ado.net
  • angular
  • c#.net
  • design patterns
  • linq
  • mvc
  • .net core
    • .Net Core MVC
    • Blazor Tutorials
  • sql
  • web api
  • dotnet
    • SOLID Principles
    • Entity Framework
    • C#.NET Programs and Algorithms
  • Others
    • C# Interview Questions
    • SQL Server Questions
    • ASP.NET Questions
    • MVC Questions
    • Web API Questions
    • .Net Core Questions
    • Data Structures and Algorithms

Friday, August 18, 2017

Connecting to SQL Server using SSMS

 Abhishek Tomer     August 18, 2017     Management Studio, SQL Server, SSMS     No comments   

Introduction
Hi friends! In this blog we will be discussing How to connect to the SQL Server using SQL Server Management Studio (SSMS).

Background
SQL Server Management Studio (SSMS), is the client tool that can be used to connect to the Database engine and write/execute SQL queries.

Process to Connect to SSMS
Method 1:
To connect to the SQL Server Management Studio
  1. Click Start
  2. Select All Programs
  3. Select Microsoft SQL Server 2005, 2008, 2008 R2, 2012 or 2016(Depending on the version installed)
  4. Select SQL Server Management Studio
Connecting to Sql server Management Studio
SSMS in All Programs
Method 2:
To connect to the SQL Server Management Studio
  1. Click Start
  2. Type "SSMS" without quotes("")
  3. Select SQL Server Management Studio
Connecting to Sql server Management Studio using Search
SSMS using Search
Method 3:
To connect to the SQL Server Management Studio
  1. Click Start
  2. Type "run" or press Window + R.
  3. Type "SSMS" without quotes("")
  4. Hit Enter.
Connecting to Sql server Management Studio using Run
Run Command to open SSMS
You will now see, Connect to Server window.
Sql Server Management Studio connection to server
Sql Server Management Studio
  1. Select Database Engine as the Server Type. The other options that you will see here are Analysis Services(SSAS), Reporting Services (SSRS) and Integration Services(SSIS).
    Server type = Database Engine 
  2. Next you need to specify the Server Name. Here we can specify the name or the server or IP Address.If you have SQL Server installed on your local machine, you can specify, (local) or just . (dot) or any other name that you have specified while installing SQL Server
    Server name = (local) / . / othername
  3. Now select Authentication. The options available here, depends on how you have installed SQL Server. During installation, if you have chosen mixed mode authentication, you will have both Windows Authentication and SQL Server Authentication. Otherwise, you will just be able to connect using windows authentication.
  4. If you have chosen Windows Authentication, you don't have to enter user name and password.
  5. If you have chosen SQL Server Authentication, you have to enter user name and password to connect to your database.
Now you are successfully connected with the Sql Server as you can see in the below picture.
Start writing Sql Queries
Start writing Sql Queries
Now, click on New Query, on the top left hand corner of SSMS (highlighted in the about picture). This should open a new query editor window, where we can type SQL queries and execute.

Summary:
SSMS is a client tool and not the Server by itself. Usually database server (SQL Server), will be on a dedicated machine, and developers connect to the server using SSMS from their respective local (development) computers.

So, Guys this is how we Connect to SQL Server using SSMS.
I Hope this post will be helpful to understand Connecting to SQL Server using SSMS.

Please share this post with your friends and colleagues to help them.

For any queries please post a comment below.

Happy Coding ðŸ˜‰
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Post Older Post

0 comments:

Post a Comment

If you like this website, please share with your friends on Facebook, Twitter, LinkedIn.

Join us on Telegram

Loved Our Blog Posts? Subscribe To Get Updates Directly To Your Inbox

Like us on Facebook

Popular Posts

  • Application Life cycle of Asp.Net MVC
    Today i am going to tell you the Application life cycle of an Asp.Net MVC Application, this post is important for those who are new to Asp.N...
  • Usability of SecureString object in C#
    Introduction Hi friends! In this blog we will be discussing a very interesting as well as useful topic in C# and that is Securestring objec...
  • C# Programming Interview Questions
    Today i am going to tell you some of the basic programming questions that are frequently asked in interview for fresher and experienced as w...
  • OOPS – Difference Between Class and Struct
    Hi friends! Today we are going to discuss a very quite interesting and important topic of Object Oriented Programming(OOPs) i.e. “Classes an...
  • Filters in ASP.Net MVC
    Hi friends! Today we are going to discuss about using a very important feature of MVC i.e. “Filters“ . Filters are a unique feature of Asp...
  • ASP.NET State Management
    State management is a technique or way to maintain / store the state of an Asp.Net controls, web page information, object/data, and user in ...
  • Angular Interpolation
    In this article, I am going to discuss the Angular Interpolation with Examples. Please read our previous article before proceeding to this...

Blog Archive

Contact Form

Name

Email *

Message *

Tags

.Net .Net Core .Net Core MVC Algorithm Angular Anonymous Types Asp.Net Asp.Net MVC Blazor C# Data Structure Database Design Patterns Entity Framework Entity Framework Core Filters Interview Question Management Studio Programming Programs SQL Server SSMS Web API

Copyright © C# Techtics | All Right Reserved.

Protected by Copyscape