One of the simplest changes you can make to a SQL table is to add a field to the table definition. Learn how to use the SQL Server Object Explorer table designer to add a field to a table. Then see how to update the underlying database with the changes.
- [Voiceover] We've decided to add a new field…to an existing table in our database.…The table I need to modify is the tours table.…So I'll double click on it.…I think the easiest way to add a new field…is to go to the last row in the grid…and type the value in here.…We've decided that we wanna include this new information…on our website on whether or not we have meals…included as part of the tour price.…So the name of the field is meals included.…Now if I move off that row, you'll see that Visual Studio…stubs in some default values.…It sets the value of the data type to N chart 10…and it sets the allow nulls to true.…
I don't want this as my data type.…So I can do two things, I can either come here…and type a new value in here like that,…or I can click on the drop down…and look through this list.…This is a boolean value and in Sequel Server…you use a bit field for this.…It's also important that I have this allow nulls selected…because I currently have data in it…and if I uncheck this I'll get an error…when I try to update the database.…
- Exploring integration with Azure data sources and other Microsoft databases
- Working with SQL Server Express LocalDB
- Connecting to databases with Server Explorer
- Working with database tables
- Manipulating tables with the SQL Server Object Explorer
- Creating queries and custom views
- Creating stored procedures
- Comparing databases
- Building a data project in Visual Studio
- Refactoring a database object
- Deploying the database
- Connecting to Azure databases
- Deploying data projects to Azure
- Integrating Visual Studio with Entity Framework
Skill Level Beginner
Q: This course was updated on 08/23/2017. What changed?
A: The following topics were updated: installing the SSDT features and why LocalDB is essential for developers.
1. Database and Data Integration
The Azure data sources2m 35s
2. SQL Server Express LocalDB
3. Server Explorer
4. SQL Server Object Explorer
5. Queries, Views, and Stored Procedures
6. Compare databases
7. SQL Server Data Project
8. Azure Data
Get an Azure account1m 10s
9. Entity Framework
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.