Question: Data Dictionary Documentation for a database to manage Advertisement Campaign data: Notes: AdCampaignRange: L indicates Local; N indicates National AdMedia: T indicates TV; R indicates

Data Dictionary Documentation for a database to manage Advertisement Campaign data:
Notes:
AdCampaignRange: L indicates Local; N indicates National
AdMedia: T indicates TV; R indicates Radio; O indicates Online; P indicates Print
Client is a company/organization
Write SQL script for SQL Server to perform the following tasks:
Create the CampaignManager, AdCampaignRange, AdMedia, AdMode, AdCampaign, and AdCampaignMix tables.
Create table structures with appropriate data types, column attributes and constraints in the given data dictionary
documentation and establish relationships between tables. As discussed in class, include in your script appropriate
conditional drop table statements at the beginning of the script.
In the AdCampaignRange table, check to ensure RangeID 'L' has RangeType 'Local' and RangeID 'N' has
RangeType 'National'. Similarly, in the AdMedia table, check to ensure MediaID 'T' has Media 'TV', MedialD
'R' has Media 'Radio', MediaID 'O' has Media 'Online' and MediaID 'P' has Media 'Print'.
Load one row of data in each of the tables created. You make up values for the data rows added to tables.
Create nonclustered index for each of the foreign key columns in the AdMode table.
Data Dictionary Documentation for a database to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!