In this video, Martin demonstrates how to create a table using either T-SQL commands or the graphical interface.
- [Instructor] In this section,…we're going to create a table…using SQL Server Management Studio.…So I'll expand one of the demo databases…and go to the tree item for Tables.…I'm going to right-click and go to New Table…and this provides the basic interface…for me to add columns to the table.…For the most part, I can name the columns whatever I like,…and then I'll need to give it a Data Type.…There's quite a number of Data Types available to us,…you certainly don't have to use all of them.…
Some of them are designed for storing numbers,…either with decimal places or without decimal places.…Similar design for storing dates or times,…or both date and time, and we also have some…for storing different types of text.…For text we often use a Variable Character Field,…also known as a varchar.…You will also see an option in this dropdown for Nvarchar.…The N means Unicode characters.…So if we want to go beyond the typical alphabet…and do the full set of Unicode characters,…you'll need to select Nvarchar instead of varchar.…
Author
Released
11/16/2016- Installing SQL Management Studio
- Using SQL Server Configuration Monitor
- Creating a database
- Creating tables with SMS and T-SQL
- Creating relationships between tables
- Creating views
- Writing queries to return XML
- Working with XML and JSON
- Backing up and restoring SQL Server
- Monitoring and management
- Security
- Performance
- Integrating SQL Server with cloud services like Azure
Skill Level Intermediate
Duration
Views
Related Courses
-
Database Foundations: Administration
with Adam Wilbert1h 14m Beginner -
Microsoft SQL Server 2014: Backup and Recovery
with Martin Guidry1h 22m Intermediate -
Learning Microsoft SQL Server 2016
with Adam Wilbert1h 21m Beginner
-
Introduction
-
Welcome1m
-
-
1. Overview of SQL Server 2016
-
SQL Server editions2m 22s
-
2. Installing SQL Server 2016
-
Basic installation6m 22s
-
-
3. Working with Tools
-
Activity Monitor3m 31s
-
Profiler4m 20s
-
4. Creating and Configuring Databases
-
Create a database3m 16s
-
Install a sample database3m 12s
-
-
5. Creating Tables in a Database
-
Create a table using T-SQL1m 41s
-
In-memory tables3m 34s
-
Temporal tables5m 19s
-
6. Creating Views in Databases
-
Create a view3m 17s
-
-
7. Understanding Programmability
-
Stored procedures3m 23s
-
Built-in functions1m 50s
-
Scalar functions2m 10s
-
-
8. Working with XML
-
Introduction to XML1m 29s
-
Write queries to return XML2m 38s
-
Shred XML2m 23s
-
Working with XML schemas1m 48s
-
Storing XML3m 38s
-
-
9. Working with JSON
-
Working with JSON2m 29s
-
Storing JSON2m 19s
-
-
10. Backup and Restore
-
Basic backups2m 32s
-
Basic restore2m 48s
-
11. Monitoring and Management
-
Audit logins2m 35s
-
12. Security
-
Instance-level logins2m 47s
-
Database-level users2m 24s
-
Encrypt data5m 24s
-
13. Performance
-
Basics of indexes3m 4s
-
Create an index6m 18s
-
Columnstore index3m 12s
-
Explore execution plans5m 1s
-
Overview of Query Store3m 18s
-
-
14. Cloud
-
Back up to Azure3m 9s
-
Set up Stretch Database4m 46s
-
Monitor Stretch Database1m 24s
-
-
Conclusion
-
Next steps33s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Create a table using Management Studio