From the course: Microsoft SQL Server 2022 Essential Training
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
Edit a table's structure - SQL Server Tutorial
From the course: Microsoft SQL Server 2022 Essential Training
Edit a table's structure
- Occasionally you'll want to make a change to the structure of a table and management studio will step in and prevent you from saving the change. This is especially true when you're just starting out with SQL Server and you're building things on the fly and then go back and revise your database after the fact. For instance, let's go back into the customer's table that we just created and I'll right click on it and open it back up in the design tool. Now, if I've decided that 100 characters for the address data isn't going to be enough for the data that I want to store I might want to come in and make a change to that. I'll click on this column and then come down into the column properties and change its length. For instance, I'll change this up to store 150 characters instead. Seems like a simple change to make here but when I come back up into the toolbar and click the save icon or press Control S on my keyboard you'll…
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
-
-
-
-
-
-
-
-