RE: Random subset of records.

2012-11-06 Thread Rodney Dixon
] On Behalf Of Jon Westcot Sent: Monday, November 05, 2012 7:51 PM To: profoxt...@leafe.com Subject: Re: Random subset of records. Hi Alan: Just wondering if you ever came to a resolution to your question below. I'm curious to hear how you solved this issue. Sincerely, Jon

Re: Random subset of records.

2012-11-05 Thread Jon Westcot
at a time. Using a SQL-Select, how would I retrieve a random subset of the records? -- Alan Bourke alanpbourke (at) fastmail (dot) fm [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http

Re: Random subset of records.

2012-11-03 Thread AndyHC
included again. However, due to constraints I can only take a subset of those candidate records at a time. Using a SQL-Select, how would I retrieve a random subset of the records? How about something like: SELECT TOP n RAND(), other_columns... FROM your_table ORDER BY 1 to get n samples. dt

Random subset of records.

2012-11-02 Thread Alan Bourke
-Select, how would I retrieve a random subset of the records? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list

Re: Random subset of records.

2012-11-02 Thread MB Software Solutions, LLC
candidate records at a time. Using a SQL-Select, how would I retrieve a random subset of the records? I must be misunderstanding.why not just use a WHERE ID NOT IN (SELECT * FROM YOUR_EXCLUSIONS_TABLE) ?? -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software

Re: Random subset of records.

2012-11-02 Thread Peter Cushing
at a time. Using a SQL-Select, how would I retrieve a random subset of the records? Why not just flag the ones you do process, then they won't get included next time. Peter Rajan Imports has changed - we are now Whispering

Re: Random subset of records.

2012-11-02 Thread Jon Westcot
, then flag them as processed so they do not get included again. However, due to constraints I can only take a subset of those candidate records at a time. Using a SQL-Select, how would I retrieve a random subset of the records? -- Alan Bourke alanpbourke (at) fastmail (dot) fm