Home > IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 6
Study guide:
EMAIL THIS LICENSING & REPRINTS

IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 6

25 Sep 2007 | SearchDataManagement.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

The following question is taken from DB2 9 Fundamentals Certification Study Guide, by Roger E. Sanders (copyright 2007) and is reprinted here with permission from MC Press.

Test your knowledge of DB2 9 by answering the question below, which is from a real, previous DB2 9 Fundamentals exam (exam 730). When you are finished, check your answer and read an explanation using the answer key.

 IBM DB2 9 Fundamentals certification exam study guide
Given the following table:
TEMP_DATA

TEMP DATE
_____________
45    12/25/2006
51    12/26/2006
67    12/27/2006
72    12/28/2006
34    12/29/2006
42    12/30/2006
And the following SQL statement:
TE FUNCTION degf_to_c (temp INTEGER)
RETURNS INTEGER
LANGUAGE SQL
CONTAINS SQL
NO EXTERNAL ACTION
DETERMINISTIC
BEGIN ATOMIC
DECLARE newtemp INTEGER;
SET newtemp = temp - 32;
SET newtemp = newtemp * 5;
RETURN newtemp / 9;
END

Which two of the following SQL statements illustrate the proper way to invoke the calar function DEGF_TO_C?

 
A. VALUES degf_to_c(32)
B. SELECT date, degf_to_c(temp) AS temp_c FROM temp_data
C. CALL degf_to_c(32)
D. SELECT * FROM TABLE( degf_to_c(temp)) AS temp_c
 
 
  • Read the answer and explanation
  • Go back to the list of sample exam questions
  •  
     
     


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Data management jobs
    Business intelligence and data warehousing salaries continue to rise
    Data management industry event and conference calendar
    DAMA keynote: Survival of the data management fittest
    Database administrator job roles: Organizing the DBAs
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 2
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 1
    IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 7
    IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 8
    Business intelligence analyst career advice
    Data architect careers: The benefits of working at a System Integrator

    IBM DB2
    IBM DB2 basics
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 4
    DB2 looks to enterprise information management to fend off Microsoft
    DB2 tools and products for Linux, UNIX and Windows: The basics
    Understanding IBM DB2: Product history and strategy
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 3
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 2
    IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 1
    IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 7
    IBM DB2 9 Fundamentals certification (Exam 730): Sample question No. 8

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts