RelationalDBDesign
SiteMap
Business Rules
Cursors Views
Database Creation
SQL Monitoring
Database Web Apps
Data Manipulation
Access Features
Building Database
Database Tables
«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
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
Create SQL Server Table - Exercise Result
Creating a table
Objective:
Create a table that includes 5 columns.
Exercise Scoring
This exercise is worth a total of 10 points. You will receive up to 10 points for accurately creating the table as described in the instructions.
Instructions
Create a table to store inventory data, named Inventory, which includes these columns:
StockNum
Cost
RetailPrice
QtyAvailable
LastPriceChangeDate
When creating the table, use only datatypes Int, SmallMoney, SmallDateTime. Use your judgement as to which datatype is to be associated to a specific column.
Submitting the exercise
Type or paste your statements into the text box below, then click the
Submit
button to submit them to the course tutor and view a results page.