Tag Archive: SQL Server Management Studio


Tips for Querying Text Columns in SSMS

SQL Server Management Studio (SSMS) is a great tool for writing and running queries. This post will provide some extra tips on querying text fields in a database table. These include:

  • Query fields with long or formatted text
  • Copying strings by dragging them from the results grid
  • T-SQL query tips for working with strings

Continue reading

Movie ReelIn a previous post, I encouraged you to consider an older video series focussed on learning SQL Server 2005 Express. In this post, I’d like to highlight a different video series focused on SQL Server 2008 Express: SQL Server 2008 Express How-To-Guide Series. Here is how I would suggest getting the most out of these videos.

Continue reading

SQL Query Tutorial & Tips (Video)

SQL Query Tutorial VideoThis next video in the Learning SQL Server video series looks at getting started with Transact-SQL (T-SQL) queries in SQL Server. A query is just a question about your data. T-SQL is just the language used to ask that question. This video looks at basic SELECT queries and then moves on to concepts of aggregations and joins. In the process, it provides tips working with queries in SQL Server Management Studio (SSMS).

Video: SQL Query Tutorial & Tips

Continue reading

If you’re new to SQL Server and searching for online training, I’d just like to say:

DON’T PANIC

In this post, I’d like to provide some tips for how a new SQL Server user can better use online resources with less frustration.

Continue reading

Let’s say someone wants to give you their SQL Server database. Maybe they want you to manage it, troubleshoot it, or learn from it. So they hand you a .MDF file and  .LDF file and tell you that you need SQL server 2008 R2 to open them. So you install SQL Server 2008 R2 Express (which, to your relief, is free). You open SQL Server Management Studio(SSMS), and you try to open the .MDF file. You get the following error:

Continue reading

Getting Started with SQL Server VideoAfter the satisfaction of successfully installing SQL Server, you close the setup dialog. But if you’re new to SQL Server, it’s not obvious how to continue. If you’re like me, you look at the Start Menu for new items. But it’s much easier if you have a friend or coworker that can just show you a few ways to get started. Then your experimentation is a lot less random and more productive. That’s the goal of the latest video in the “Learning SQL Server” video series:

Video: Getting Started with SQL Server 2008

Continue reading

SQL Server Management Studio (SSMS) Basics

SQL Server Management Studio (SSMS) is one of the most important tools you’ll use with SQL Server. It provides a user-interface for common database tasks. Although not comprehensive, here are a few of the more common tasks:

  • Create databases.
  • Design tables and other database objects.
  • Add, update, or delete data from databases.
  • Backup and Restore databases.
  • Run queries.

Continue reading

Find your Installed SQL Server Versions and Instances

It’s more common than you would expect to have SQL Server installed on your machine without knowing the exact version or edition. With tools and applications installing SQL Server behind the scenes, you may have unknowingly installed SQL Server. In this post, I’ll try to quickly explain some easy ways to investigate this question. This will include:

  • Using the Programs and Features control panel tool.
  • Understanding and viewing SQL Server instances.
  • SELECT @@VERSION

Continue reading