Stocks are ending the day mixed after weak earnings from Oracle pulled down technology companies.
The Dow Jones industrial average managed a small gain after having been down most of the day. The Dow edged up 4 points, less than 0.1 percent, to close at 12,107 Wednesday.
The Standard & Poors 500 rose 2 points to 1,244. The Nasdaq composite fell 26 points, or 1 percent, to 2,578.
Stocks were down most of the day. At one point the Dow was down 104 points because Oracle said business was slower than expected and because of the latest worries about Europe.
Rising shares outnumbered declining ones 3 to 2 on the New York Stock Exchange. Volume was lower than usual at 3.5 billion.