hi !!! all
> plz give me ans .....
> it is related to sql querry.
> Question.--> select 10 number randomly in 100 no.'s database ????
> plz give me ans if u know.....
> thanks in advance...



Hi Nawal.

          Could u please clarify your problem in more clear way. What you
wanted to do
select 10 Rows Randomly from a table which consist of 100 no's of Records ?

If your having Above scenario then the below code will work out for you.

Select Top 2 [ColumnName]  from [TableName]
Order by NEWID()

Thanks and Regards
Nitesh Katare

-- 
N i t i :-
The future belongs to those who believe in the beauty of their dreams...

Reply via email to