RelationalDBDesign
SiteMap
Business Rules
Cursors Views
Database Creation
SQL Monitoring
Database Web Apps
Data Manipulation
Access Features
Building Database
Table Column Attributes
«Prev
Next»
SQL Database Creation
SQL - Server
Relational Database
Client Server Architecture
SQL Server Services
EM Administer SQL-Servers
Database Relational Concepts
SQL Server Tables
Data Integrity Elements
Business Rules
Database Normalization
Data Normalization
Database Denormalization
Primary Keys Unique Constraints
Foreign Keys
Relational Concepts
Column Attributes Table
Table Columns Types
Specify Default Column
Create Transact SQL Datatype
SQL-Server DB Tables
Create Transact SQL Datatype - Exercise
Objective:
> Create your own datatype.
Exercise scoring
This exercise is worth a total of 5 points. You will receive up to 5 points for submitting the correct Transact-SQL syntax required to create your own datatype.
Instructions
Construct a Transact-SQL statement that creates a user-defined datatype with these attributes:
Name of zipcode
Use exactly 5 characters for the datatype
Allow null values
Submitting the exercise
Type or paste your code into the text box below, then click
Submit
to submit your answer and view a results page.
Submit