Home » RDBMS Server » Server Administration » Urgent SQL
Urgent SQL [message #373215] Wed, 04 April 2001 10:08 Go to next message
Bobby
Messages: 32
Registered: August 2000
Member
How do i generate a random number in oracle?
Re: Urgent SQL [message #373219 is a reply to message #373215] Wed, 04 April 2001 12:37 Go to previous message
Andrew again...
Messages: 270
Registered: July 2000
Senior Member
select t1.*, random.rand
from t1
order by 2

Random package may be retrieved from:
http://osi.oracle.com/~tkyte/Misc/Random.html
Previous Topic: Cooment in Table
Next Topic: help?
Goto Forum:
  


Current Time: Mon Dec 23 05:37:47 CST 2024