News

is the name for the constraint being specified. The first form of the CREATE TABLE statement creates tables that automatically map SQL data types to those supported by the SAS System. Use this form ...
Then, within the Tools table, I enforce the constraint that all tool names must start with either an H or a W. Then I just create a constraint that forces WrenchingTools to start with "W".
Replace "new_table" with the name of the table to create, and replace "old_table" with the name of the table to select from. The INTO clause behaves the same as CREATE TABLE in other SQL environments.