OverviewIntroductionObjectivesPrerequisitesUnderstanding Methods of Creating TablesCreating an Empty Table by Defining ColumnsExampleSpecifying Data TypesSpecifying Column WidthsSpecifying Column ModifiersExampleDisplaying the Structure of a TableExampleCreating an Empty Table That Is Like Another TableExampleSpecifying a Subset of Columns from a TableExampleCreating a Table from a Query ResultExampleCopying a TableExampleInserting Rows of Data into a TableInserting Rows by Using the SET ClauseExampleInserting Rows by Using the VALUES ClauseExampleInserting Rows from a Query ResultExampleCreating a Table That Has Integrity ConstraintsGeneral Integrity ConstraintsReferential Integrity ConstraintsCreating a Constraint in a Column SpecificationExampleCreating a Constraint by Using a Constraint SpecificationExampleHandling Errors in Row InsertionsExampleUsing the UNDO_POLICY= Option to Control UNDO ProcessingExampleDisplaying Integrity Constraints for a TableExampleUpdating Values in Existing Table RowsUpdating Rows by Using the Same ExpressionExampleUpdating Rows by Using Different ExpressionsExampleHow PROC SQL Updates Rows Based on a CASE ExpressionHow the Case Operand WorksUpdating Rows by Using the CASE Expression without a Case OperandExampleUpdating Rows by Using the CASE Expression with a Case OperandExampleUsing the CASE Expression in the SELECT StatementExampleDeleting Rows in a TableExampleAltering Columns in a TableAdding Columns to a TableExampleDropping Columns from a TableExampleModifying Columns in a TableExampleAdding, Dropping, and Modifying Columns in a Single StatementExampleDropping TablesExampleSummaryText SummaryUnderstanding Methods of Creating TablesCreating an Empty Table by Defining ColumnsDisplaying the Structure of a TableCreating an Empty Table That Is Like Another TableCreating a Table from a Query ResultInserting Rows of Data into a TableCreating a Table That Has Integrity ConstraintsHandling Errors in Row InsertionsDisplaying Integrity Constraints for a TableUpdating Values in Existing Table RowsDeleting Rows in a TableAltering Columns in a TableDropping TablesSyntaxSample ProgramsCreating an Empty Table by Defining ColumnsCreating an Empty Table That Is Like Another TableCreating a Table from a Query ResultDisplaying the Structure of a TableInserting Rows into a Table by Specifying Column Names and ValuesInserting Rows into a Table by Specifying Lists of ValuesInserting Rows into a Table from a Query ResultCreating a Table That Has Integrity ConstraintsDisplaying Integrity Constraints for a TableUpdating Rows in a Table Based on an ExpressionUpdating Rows in a Table by Using a CASE ExpressionUpdating Rows in a Table by Using a CASE Expression (Alternate Syntax)Deleting Rows in a TableAdding, Modifying, and Dropping Columns in a TableDropping a TablePoints to RememberQuiz