Issuu on Google+

IBM

000-545

DB2 9.7 SQL Procedure Developer

Click the link below to buy full version as Low as $25 http://www.examkill.com/000-545.html

ExamKill is team of experienced and educated professionals working day and night to develop preparation material for different fields in IT. These industries are including HP, IBM, Comptia, Orcale, Apple, Adobe, Nortel, Novell, Checkpoint etc with the following features.

Free Samples:

Free samples download are available for almost every product to check before

buy.

Complete Course Coverage: Experienced professionals are making sure to cover complete course so that you pass final exam.

Updated Material: Preparation material is updated and new; you can compare us with other providers in the same industry.

Privacy Protection:

Examkill team makes sure not to reveal your private information

including your credit card and other secret information.

Excellent Customer Support: You will get reply from examkill support within 8 hours for all your questions/concerns about anything.

www.examkill.com


Question: 1 A developer needs to create a user-defined function that will return a list of employees who work in a particular department. Which statement will successfully create a function that meets this objective? A. CREATE FUNCTIONdept_employees (deptno CHAR(3)) RETURNS TABLE LANGUAGE SQL READS SQL DATA RETURN SELECT empno, lastname AS l_name, firstnme AS f_name FROM employee WHERE employee.workdept = dept_employees.deptno B. CREATE FUNCTIONdept_employees (deptno CHAR(3)) RETURNS TABLE DYNAMIC RESULT SETS 1 LANGUAGE SQL READS SQL DATA DECLARE emp_info CURSOR WITH RETURN FOR SELECT empno, lastname AS l_name, firstnme AS f_name FROM employee WHERE employee.workdept = dept_employees.deptno OPEN emp_info; RETURN C. CREATE FUNCTIONdept_employees (deptno CHAR(3)) RETURNS TABLE (empno CHAR(6), l_nameVARCHAR(15), f_nameVARCHAR(12)) LANGUAGE SQL READS SQL DATA RETURN SELECT empno, lastname AS l_name, firstnme AS f_name FROM employee WHERE employee.workdept = dept_employees.deptno D. CREATE FUNCTIONdept_employees (deptno CHAR(3)) RETURNS TABLE (empno CHAR(6), l_nameVARCHAR(15), f_nameVARCHAR(12)) DYNAMIC RESULT SETS 1 LANGUAGE SQL READS SQL DATA DECLARE emp_info CURSOR WITH RETURN FOR SELECT empno, lastname AS l_name, firstnme AS f_name FROM employee WHERE employee.workdept = dept_employees.deptno OPEN emp_info; RETURN

Answer: C

http://www.examkill.com/000-545.html Adobe Apple Cisco CompTIA HP EMC IBM Microsoft Oracle Juniper

2


Question: 2 In the function shown below:

Which statement can be used to invoke the function above? A. SELECT * FROMTABLE(fcn1('B01')) B. SELECTTABLE(fcn1('B01')) FROM SYSIBM.SYSDUMMY1 C. SELECT * FROMfcn1('B01') D. SELECTfcn1('B01') FROM SYSIBM.SYSDUMMY1

Answer: A Question: 3 Which statement correctly describes characteristics of external functions? A. External functions cannot return tables. B. All cursors opened within an external function should stay open until the database isquiesced. C. Scratchpads can be used to allocate dynamic memory required for multiple function invocations. D. Transactions can be terminated within external functions.

Answer: C

http://www.examkill.com/000-545.html Adobe Apple Cisco CompTIA HP EMC IBM Microsoft Oracle Juniper

3


Question: 4

Click the Exhibit button Referring to the exhibit, how many rows will be returned by the SQL query shown below? SELECT * FROM TABLE(getnumemployee(21?) AS dSELECT * FROM TABLE(getnumemployee(?21?) A. 0 B. 1 C. 7 D. 10

Answer: C

http://www.examkill.com/000-545.html Adobe Apple Cisco CompTIA HP EMC IBM Microsoft Oracle Juniper

4


Question: 5 Which three optional clauses can be used when creating an external function? (Choose three.) A. SCRATCHPAD B. NOTEPAD C. LANGUAGE D. EXTERNAL NAME E. DATABASEINFO

Answer: ACD

http://www.examkill.com/000-545.html Adobe Apple Cisco CompTIA HP EMC IBM Microsoft Oracle Juniper

5


IBM

000-545

DB2 9.7 SQL Procedure Developer

Click the link below to buy full version as Low as $25

http://www.examkill.com/000-545.html

We also provide PDF Training Material for: Hot Exam 000-188

000-582

000-N07

00M-240

000-N07

00M-220

000-281

000-582

00M-249

00M-646

000-068

000-036

00M-228

00M-602

000-M95

000-030

000-178

000-219

000-608

000-556

00M-245

00M-237

000-230

000-601

000-533

000-609

LOT-921

COG-632

www.examkill.com

http://www.examkill.com/000-545.html Adobe Apple Cisco CompTIA HP EMC IBM Microsoft Oracle Juniper

6


DB2 9.7 SQL Procedure Developer