Thanks everyone.

I used the below query and then output it with the update query and it works 
exactly what I want.

Thanks again.

<cfquery name="getrcd" datasource="winter_2004">
        SELECT     Unique_ID % 10 AS ID, *
        FROM         Table
        WHERE     (Unique_ID % 10 = 0)
        ORDER BY Unique_ID
</cfquery>




Regards, 



>For SQL server you could try:
>
>SELECT TOP 10 PERCENT *
>FROM my_table
>ORDER BY NEWID()
>
>Cheers
>Bert
>
>On Mon, 22 Nov 2004 12:52:20 -0400, Asim Manzur <[EMAIL PROTECTED]> wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185052
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to