Concept explainers
a. Value that will be stored using NUMBER(11) data type for input number 3,456,349.2334 in Oracle
b. Value that will be stored using NUMBER(11, 1) data type for input number 3,456,349.2334 in Oracle database.
c. Value that will be stored using NUMBER(11, -2) data type for input number 3,456,349.2334 in Oracle database.
d. Value that will be stored using NUMBER(11, 6) data type for input number 3,456,349.2334 in Oracle database.
e. Value that will be stored using NUMBER(6) data type for input number 3,456,349.2334 in Oracle database.
f. Value that will be stored using NUMBER data type for input number 3,456,349.2334 in Oracle database.
Explanation of Solution
Explanation:
a.3456348
b.3456349.2
c.3456300
d.Not accepted, Exceeds precision
e.Not accepted, Exceeds precision
f...
Want to see the full answer?
Check out a sample textbook solutionChapter 8 Solutions
Pearson eText for Modern Database Management -- Instant Access (Pearson+)
- Does the DBMS or the user make the choice of which index to use to accomplish a given task?arrow_forwardIn Oracle, what is a datafile? How does it differ from a file systems file?arrow_forwardWhat problems might arise if your database does not have proper referential integrity? What kind of errors may there be?arrow_forward
- In Oracle, if you have two tables related by connecting a primary key in table B and a foreign key in table A, how does the database behave during the insertion of a new record into table A? Question 45 options: 1) It creates a new primary key attribute that is automatically numbered as a sequence of numeric values. 2) It prevents foreign key values from being duplicated in table A. 3) It prevents any records from being deleted from either Table A or Table B. 4) It prevents a row from being inserted into table A if the data in the foreign key column of table A doesn't match any of the values in the primary key column of the table B.arrow_forwardBriefly explain what is meant by referential integrity and how it is enforced bythe DBMSarrow_forwardWhat happens if someone tries to break a database's referential integrity? What types of errors are possible?arrow_forward
- What happens if your database does not enforce referential integrity? When it comes to making errors, what kind are most likely to occur?arrow_forwardSQL Database question is below. if you are solve ı'm very appreciate that.arrow_forwardWhy is the foreign key important for the integrity of a database? Can you come up with a scenario to show why it is necessary?arrow_forward
- Using the relations that I attached, defined and normalized, create the SQL DDL statements necessary to implement database schema as an OpenOffice database. You may also implement your database in MySQL, IBM DB2 Express, Microsoft Access, SQL Server if you have access to these database systems. The answer should include a document that contains all of the SQL statements that you created and a screenshot that shows the structures that you implemented in the database of your choice. Your DDL statements must accommodate the following elements: Create statements to create tables from the entities defined as part of the attachment. Appropriate use of Null (and Not Null) parameters to ensure data validity Appropriate use of constraint clauses to implement appropriate referential integrity Use of data types and formats that is appropriate for the data in your database schema. Appropriate use of keys including automatic generation of key values if appropriate Shoulkd include: * the…arrow_forwardThe following tables form part of a database held in a relational DBMS (Primary Key, Foreign Key): Employee (empNo, empName, empAddress, empGender, empPosition, deptNo) Department (deptNo, deptName, ManagerEmpNo) Project (projNo, projName, deptNo) WorksOn (empNo, projNo, dateWorked, hoursWorked) …where: Employee contains employee details Department contains department details. ManagerEmpNo identifies the employee who is the Manager of the department. There is only one Manager for each department. Project contains details of the projects in each department. No two departments can run the same project. WorksOn contains details of the hours worked by each employee on each project. Give SQL for the following queries List all details of all female employees List the Names and Addresses of all employees who work in the department named “Human Resources”. List the Names of all employees who worked on the project named Manhattan List the total number of hours…arrow_forwardUsing a specific example (different from what the textbook discusses), explain the use of binary and shared/exclusive locks in a DBMS (in your own words).arrow_forward
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage Learning