Microsoft® SQL Server 2012 Unleashed
by Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein
Creating Tables
SQL Server 2012 supports the creation of tables using T-SQL, the SQL Server Management Studio (SSMS) Object Explorer and the SSMS Database Diagram Editor. Regardless of the tool you choose, creating a table involves naming the table, defining the columns, and assigning properties to the columns. The visual tools (such as Object Explorer and database diagrams) are usually the best starting point for creating tables. These tools offer drop-down boxes that allow you to choose the data types for your columns and check boxes that allow you to define their nullability.
This chapter first looks at the visual tools and then delves into the specific parameters related to the underlying T-SQL statements that ultimately create a table. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access