From the course: Microsoft SQL Server 2022 Essential Training
Unlock this course with a free trial
Join today to access over 24,100 courses taught by industry experts.
Table structures - SQL Server Tutorial
From the course: Microsoft SQL Server 2022 Essential Training
Table structures
- [Instructor] Before we can start adding data to our database, we need to give it a structured place to go. This means it's time to create a table. Tables in a SQL Server database are created by defining the columns of information that you want to store. These columns called fields break down the details about the data into individual attributes. For instance, in a table that will store customer contact information, you would have separate columns to store each customer's first and last name, their address, city, and state. These column attributes make up the structure of the table. Then later, once your table structure is created and saved into the database, you can start adding in your data. This creates horizontal rows called records, and each record will be made up of the values stored in those columns. In our customer's table, each row corresponds to the detailed information about a single customer, and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Create the first database7m 55s
-
(Locked)
Database configuration options7m 29s
-
(Locked)
Table structures5m 23s
-
(Locked)
Create a simple table8m 8s
-
(Locked)
Edit a table's structure2m 56s
-
(Locked)
Enter data into a table using the GUI4m 10s
-
(Locked)
Import data from CSV files8m 49s
-
(Locked)
Create tables from flat files4m 44s
-
(Locked)
Install a sample database3m 33s
-
-
-
-
-
-
-
-