eHow launches Android app: Get the best of eHow on the go.

Creating a View in SQL Server

Video Preview

Summary: Use the Management Studio feature of Microsoft SQL Server to learn how to select a database view. Use the Management Studio in Microsoft SQL Server to create a new view using tips from a software developer in this free video about computer technology.

Views:
321
Presenter
By Dave Andrews
eHow Presenter

Dave Andrews is a software developer with a business and Web site selling programs and other computer services in Franklin, Tenn. Having worked in the IT industry for more than 8...read more

Post a Comment

Post a Comment

Video Transcript

"Hi, my name is Dave Andrews. Today I'm going to show you how to create a new view in SQL Server. Let's begin by opening up the Management Studio by clicking on the Start button, going to All Programs, Microsoft SQL Server, and let's select the Management Studio. It's going to begin by asking me what database I want to connect to; I'll just use the defaults. Let's expand Databases, and My Database, and Tables, and as you can see, I have a table called People. If I open that table, here's my People table that I've opened up, and as you can see, it has one person in it, and that's Dave. Let's create our new view by expanding Views and then right-clicking on Views and saying New View. Now, a view allows you to create a read-only table, basically, that will only return data, and not allow anybody to edit or change it. It's going to ask you what table we want to work with, and we're going to say People. Just click Add, and then click Close. In the People table, select what columns you want to add by clicking the check box. All I want this view to do is return the persons that are in the People table. So I'm just going to have it return PersonName. It even shows you the SQL query that it's going to run. Let's save our view as View People, and say OK. Once your view is saved, we need to run it simply by clicking up here on the toolbar this little exclamation point that will run our view. You can see down here at the very bottom the results of our view, just the PersonName, Dave. My name is Dave Andrews, and I've just showed you how to create a new view in Microsoft SQL Server."

eHow Article: Creating a View in SQL Server

Related Ads

  • Have you done this? Click here to let us know.
Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics