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
What Is Relational Database
Client Server Architecture
SQL Server Services
Starting SQL-Server Services
SQL Server Installation
EM Administer SQL-Servers
Query Analyzer
SqlServer Wizards
SqlServer Overview Conclusion
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
Specifying Length Precision Scale
SQL Allow Null
Specify Default Column Values
Table Identity Columns
Rowguidcol Attribute Flag
Create Transact SQL Datatype
TableColumn Attributes Conclusion
SQL-Server DB Tables
Sql Server Databases
Database Permissions
Database Elements
Transact Sql Statement
Modifying Databases
Create Manage Filegroups
Drop Database
Database Table
Transact Sql Table
Alter Table Modify
Delete Table Sql
Transact SqlSyntax Conclusion
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