Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Selectively generating random numbers

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-12-04 : 08:56:38
Rob writes "I have a table with an ID (identity) field and a category field. I need to pick a random number from the ID field depending on the category. (ie. If the category is 1 and the ID's for the category is 5,8,22,24,25,26 etc; I need to pick a random number from the list).

SQL server 6.5

Thanks a lot !"
   

- Advertisement -