Database Design Questionnaire
Description
QUESTION 1
- If InvoiceTotal contains a value of 250.00, what will the Solution column contain when this code is executed?
CASE
WHEN InvoiceTotal > 500
THEN InvoiceTotal – ROUND(InvoiceTotal * .20, 2)
WHEN InvoiceTotal >= 250
THEN InvoiceTotal – ROUND(InvoiceTotal * .10, 2)
ELSE
0
END AS Solution - a.225.00
- b.0
- c.200.00
- d.25
QUESTION 2
- When you identify a column as the primary key, the column
- a.has a clustered index created automatically for the column
- b.is forced to contain a unique value for each row
- c.is forced to be NOT NULL
- d.all of the above
QUESTION 3
- Which system function can you use to return the value of the most recently assigned identity column?a.@[removed]@[removed]@[removed]@@IDENTITY
2 points
QUESTION 4
- What do you use to uniquely identify each row in a table?a.
- a primary key
- b.a skeleton key
- c.a foreign key
- d.an index
QUESTION 5
- The first character of a regular identifier can bea.
- a letter as defined by the Unicode Standard 3.2
- b.an underscore (_)
- c.an at sign [removed] of the above
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."