Using Object Explorer to Create Tables

The Object Explorer in SSMS has a Tables node under each database listed. You can add tables via the Object Explorer by right-clicking this Tables node. Figure 20.1 shows the New Table option displayed after you right-click the Tables node in Object Explorer. The top-right side of the screen shown in Figure 20.1 is the table creation screen that allows you to enter the column name and data type and to set the Allow Nulls option.

Image

FIGURE 20.1 Using Object Explorer to create a table.

The data entry area under Column Name is a free-form area where you can define a column name. You can select the data type from ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.