Free IBM 000-730 Practice Test & Real Exam Questions

  • Exam Code/Number: 000-730
  • Exam Name/Title: DB2 9 Family Fundamentals
  • Certification Provider: IBM
  • Corresponding Certification: DB2
  • Exam Questions: 303
  • Updated On: Jun 09, 2026
Which of the following CREATE TABLE statements will NOT be successful?
Correct Answer: A Vote an answer
Given the following stored procedure:
CREATE PROCEDURE increase_salary ( IN p_workdept CHAR(6),
OUT p_sum DECIMAL(9,2) )
SET p_sum = (SELECT SUM(salary) FROM employee WHERE workdept=p_workdept);
How can this stored procedure be called from the Command Line Processor?
Correct Answer: D Vote an answer
Which of the following is a characteristic of a schema?
Correct Answer: B Vote an answer
Given the following DDL and INSERT statements:
CREATE VIEW v1 AS SELECT col1 FROM t1 WHERE col1 > 10;
CREATE VIEW v2 AS SELECT col1 FROM v1 WITH CASCADED CHECK OPTION;
CREATE VIEW v3 AS SELECT col1 FROM v2 WHERE col1 < 100;
INSERT INTO v1 VALUES(5);
INSERT INTO v2 VALUES(5);
INSERT INTO v3 VALUES(20);
INSERT INTO v3 VALUES(100);
How many of these INSERT statements will be successful?
Correct Answer: A Vote an answer
Which of the following will begin a new unit of work?
Correct Answer: C Vote an answer
Which of the following is the lowest cost DB2 product that can be legally installed on an AIX server?
Correct Answer: A Vote an answer
The following triggers were defined for a table named SALES in the order shown:
CREATE TRIGGER trigger_a NO CASCADE BEFORE UPDATE ON sales REFERENCING NEW AS new FOR EACH ROW SET new.commission = sale_amt * .05 WHERE invoice = n.invoice;
CREATE TRIGGER trigger_b AFTER INSERT ON sales REFERENCING NEW AS new FOR EACH ROW UPDATE sales SET bill_date = CURRENT DATE + 30 DAYS WHERE invoice = n.invoice;
CREATE TRIGGER trigger_c NO CASCADE BEFORE DELETE ON sales FOR EACH ROW SIGNAL SQLSTATE '75005' SET MESSAGE_TEXT = 'Deletes not allowed!';
Which of the following statements is NOT true?
Correct Answer: D Vote an answer
Given the following CREATE TABLE statement:
CREATE TABLE table2 LIKE table1
Which two of the following will NOT occur when the statement is executed?
Correct Answer: A,C Vote an answer
A number of applications issue the following SQL statement: SELECT d.deptno, e.empno, e.salary FROM department d INNER JOIN employee e ON d.deptno = e.deptno A database administrator wishes to store this query within the database. Which of the following database objects can be used to accomplish this?
Correct Answer: A Vote an answer
What does the following statement do? GRANT REFERENCES (col1, col2) ON TABLE table1 TO user1 WITH GRANT OPTION
Correct Answer: D Vote an answer
Which of the following is an accurate statement about packages?
Correct Answer: B Vote an answer
If the following SQL statements are executed:
CREATE TABLE make (makeid SMALLINT NOT NULL PRIMARY KEY,
make VARCHAR(25));
CREATE TABLE model (modelid SMALLINT,
model VARCHAR(25),
makeid SMALLINT,
CONSTRAINT const1 FOREIGN KEY (makeid)
REFERENCES make(makeid) ON DELETE RESTRICT);
And each table created is populated as follows:
MAKE
MAKEID MAKE
1 Ford 2 Chevrolet 3 Toyota
MODEL
MODELID MODEL MAKEID
1 Mustang 1 2 Escort 1 3 Malibu 2 4 Camry 3
If the following SQL statement is executed:
DELETE FROM make WHERE makeid = 1
What is the total number of rows that will be deleted?
Correct Answer: D Vote an answer