EXHIBIT 23.2
CONSENT OF ERNST & YOUNG LLP,
INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the Registration Statement (Form S-8) of
Oracle Corporation pertaining to the Bridgestream 1999 Stock Plan and
the Logical Apps, Inc. 2003 Equity Incentive Plan of our reports dated June 28, 2007 with respect to the consolidated financial statements and
schedule of Oracle Corporation, Oracle Corporation managements assessment of the effectiveness of
internal control over financial reporting, and the effectiveness of internal control over financial
reporting of Oracle Corporation included in its Annual Report (Form 10-K) for the year ended May
31, 2007, filed with the Securities and Exchange Commission.
/s/ Ernst & Young LLP
San Francisco, California,
November 13, 2007