RAND function, from the Transact-SQL Reference (SQL Server 2000).
HTH,
In reply to Re: SQL solution or Perl solution? by planetscape in thread SQL solution or Perl solution? by Win