A federal judge handed Oracle a key victory Thursday, ruling that the company's potential acquisition of software rival PeopleSoft would pose no threat to competition in the corporate software market.