Oracle shares fell sharply in after-hours trading Wednesday after the database software maker reported quarterly sales that missed Wall Street forecasts.