Wall Street rose to more records even as a sell-off for Oracle and worries about a potential bubble in artificial-intelligence technology weighed on the market.

The S&P 500 edged up 0.2% or 14 points to finish at 6,901 Thursday to eke past the all-time closing high it set in October.

The Dow Jones Industrial Average jumped 646 points or 1.3% to finish at 48,704 topping its own record set last month.

The Nasdaq ended 60 points lower at 23,953.

Weakness for AI-related stocks, though, weighed on the Nasdaq composite, which fell 0.3%.

Gains for Eli Lilly, banks and smaller stocks helped offset a steep drop for Oracle, whose plans for increased spending on AI surprised analysts.