CREATE TABLE DBDesigner ID CHAR (7), Name VARCHAR2 (15), PRIMARY KEY (ID) ); CREATE TABLE DesignTask...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
CREATE TABLE DBDesigner ID CHAR (7), Name VARCHAR2 (15), PRIMARY KEY (ID) ); CREATE TABLE DesignTask ID CHAR(5), DesignerID CHAR (7), Priority VARCHAR (20), PRIMARY KEY (ID), FOREIGN KEY (DesignerID) REFERENCES DBDesigner (ID) ); Consider the following data in DBDesigner 1234567 Eric Schwabe 3456789 Janine Spears 5678901 Will Marrero 7890123 Cynthia Putnam and the following data in DesignTask 11111 1234567 Urgent 22222 1234567 Low 33333 5678901 Low 44444 7890123 High If you were to insert the following statement INSERT INTO DBDesigner VALUES ('3456789', 'Bruce Wayne'); What will happen? Error. Violates referential integrity constraints Error. Violates domain constraints No error. Does not violate nay constraint. Error. Violates uniqueness constraints. CREATE TABLE DBDesigner ID CHAR (7), Name VARCHAR2 (15), PRIMARY KEY (ID) ); CREATE TABLE DesignTask ID CHAR(5), DesignerID CHAR (7), Priority VARCHAR (20), PRIMARY KEY (ID), FOREIGN KEY (DesignerID) REFERENCES DBDesigner (ID) ); Consider the following data in DBDesigner 1234567 Eric Schwabe 3456789 Janine Spears 5678901 Will Marrero 7890123 Cynthia Putnam and the following data in DesignTask 11111 1234567 Urgent 22222 1234567 Low 33333 5678901 Low 44444 7890123 High If you were to insert the following statement INSERT INTO DBDesigner VALUES ('3456789', 'Bruce Wayne'); What will happen? Error. Violates referential integrity constraints Error. Violates domain constraints No error. Does not violate nay constraint. Error. Violates uniqueness constraints. CREATE TABLE DBDesigner ID CHAR (7), Name VARCHAR2 (15), PRIMARY KEY (ID) ); CREATE TABLE DesignTask ID CHAR(5), DesignerID CHAR (7), Priority VARCHAR (20), PRIMARY KEY (ID), FOREIGN KEY (DesignerID) REFERENCES DBDesigner (ID) ); Consider the following data in DBDesigner 1234567 Eric Schwabe 3456789 Janine Spears 5678901 Will Marrero 7890123 Cynthia Putnam and the following data in DesignTask 11111 1234567 Urgent 22222 1234567 Low 33333 5678901 Low 44444 7890123 High If you were to insert the following statement INSERT INTO DBDesigner VALUES ('3456789', 'Bruce Wayne'); What will happen? Error. Violates referential integrity constraints Error. Violates domain constraints No error. Does not violate nay constraint. Error. Violates uniqueness constraints. CREATE TABLE DBDesigner ID CHAR (7), Name VARCHAR2 (15), PRIMARY KEY (ID) ); CREATE TABLE DesignTask ID CHAR(5), DesignerID CHAR (7), Priority VARCHAR (20), PRIMARY KEY (ID), FOREIGN KEY (DesignerID) REFERENCES DBDesigner (ID) ); Consider the following data in DBDesigner 1234567 Eric Schwabe 3456789 Janine Spears 5678901 Will Marrero 7890123 Cynthia Putnam and the following data in DesignTask 11111 1234567 Urgent 22222 1234567 Low 33333 5678901 Low 44444 7890123 High If you were to insert the following statement INSERT INTO DBDesigner VALUES ('3456789', 'Bruce Wayne'); What will happen? Error. Violates referential integrity constraints Error. Violates domain constraints No error. Does not violate nay constraint. Error. Violates uniqueness constraints.
Expert Answer:
Answer rating: 100% (QA)
Ans d Error Violates uniqueness constraints b Error Violates domain constraints Here Db design... View the full answer
Related Book For
Practicing Statistics Guided Investigations for the Second Course
ISBN: 978-0321586018
1st edition
Authors: Shonda Kuiper, Jeff Sklar
Posted Date:
Students also viewed these accounting questions
-
If you were to consider buying a School of Rock franchise, what issues would concern you the most about your ability to be successful as a franchisee for this company?
-
What audit procedures might you perform if you were to decide that the risk of fraud involving the cash account was relatively high for this client?
-
If you were to draw an age structure diagram for Poland, with a total fertility rate of 1.3, which of the following overall shapes would the diagram have? Explain why a country like Poland faces a...
-
What is a safe edge on a file?
-
What factors determine whether the annual ac-counting rate of return on a given project will be high or low in the early years of the investments life? In the latter years?
-
Zoe Parker opened Fresh Step Carpet Cleaners, Ltd. on March 1. During March, the following transactions were completed. Mar. 1 Shareholders invested 14,000 cash in the business in exchange for...
-
Describe the rights of patients as reviewed in this chapter.
-
Calculate the random access memory (RAM) in megabytes necessary to store a multidimensional array that is 20 x 40 x 120.This array is double precision, and each value requires a 64-bit word. Recall...
-
how do you know which equation to use for sustainable growth? There are several: g*=PRAT g*= R x ROEbop g* = change in equity / equity bop g*= R x Earnings / Equity What is the formula for Actual...
-
Sara-Jayne Parsons is an architect who operates her own business. The accounts and transactions for the business follow. INSTRUCTIONS 1. Analyze the transactions for January 20X1. Record each in the...
-
The data below relates to Al-Jadani International Company for the year 2020, use these data to prepare the following statements: 1. Calculate the net income for the year ended 31/12/2020 2. Prepare...
-
Dale owns an excavating business and has a large piece of heavy machinery in which his bank has a perfected security interest. Strapped for cash, Dale takes out a loan with EZ cash, using the same...
-
Suppose that you're a Small Business Account Manager at BMO. Your customers, Pirre and Belle Chen, owners of C'Est Bon Authentic Chinese Cuisine*, wish to upgrade their restaurant's technology at a...
-
Select all that apply Select the following statements that are correct regarding Dividends? (Check all that apply.) Multiple select question. Dividends are closed into retained earnings by debiting...
-
The lecture presented both Pugh's method and weighted objectives as options to show a "systematic qualitative screening process". Provide one advantage and one disadvantage to using either of these...
-
Does the public get a say when setting up performance-based budgeting? Are people even aware when budget are being put together
-
Write a Python program that takes in as input a number from the user and prints the following output based on the value of num. You can assume that num will always be an integer. print "zero" if num...
-
Distinguish between the work performed by public accountants and the work performed by accountants in commerce and industry and in not-for-profit organisations.
-
Is Distracter a fixed or random factor? Provide a justification for your answer.
-
Create a Hasse diagram for Josh and Anns memory study corresponding to Question 1. Use the Hasse diagram to find the corresponding statistical model.
-
Explain why multicollinearity is a problem for researchers who are hoping to test whether specific explanatory variables impact the response (i. e., confirm a theory). Then explain why...
-
How many structural isomers are there for hydrocarbons that have the molecular formula C 4 H 10 ? (a) none (b) one (c) two (d) three
-
Which contains more hydrogen atomsa five-carbon saturated hydrocarbon molecule or a five-carbon unsaturated hydrocarbon molecule? (a) The unsaturated hydrocarbon has more hydrogen atoms. (b) The...
-
One solution to the problem of our overflowing landfills is to burn plastic objects instead of burying them. What are some advantages and disadvantages of this practice? (a) disadvantage: toxic air...
Study smarter with the SolutionInn App