The situation is I have 166000 records.

I need to select 10% of it. i.e. every 10th row.
And I need to select 10% and thats it. after that I don't need this field 
anymore.

I can use CF / or directly run the query in Enterprise manager.

Can someone give me the query so, I can directly run in MS SQL???




>I suppose it depends on what you mean by "10th row".  How is that 
>sorted?  Is it every 10th row that ever existed, or that currently 
>exists?  How are you going to handle deletions?
>
>Generically speaking, I'd do this on output, but I don't know the 
>specifics of your situation.
>
>Now that I've muddied the water thoroughly, I'm going to lunch.  :-)
>
>--Ben
>
>Asim Manzur 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:185037
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