On 11/2/2012 12:49 PM, Alan Bourke wrote:
Let's say I have a table, and there are a number of candidate records
that I could potentially include in a particular process, 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?
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 Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.