[Nottingham] SQLite and 'locking'

Martin martin at ml1.co.uk
Tue Feb 27 15:15:36 GMT 2007


Michael Erskine wrote:
> On Tuesday 27 February 2007 10:04, Ovid wrote:
>> That seems like a stupid example, but consider this:
>>
>>   SELECT last_name, first_name, age
>>   FROM   customers
>>   WHERE  age > weight
> 
> Use this query to decide whether to send cake to the customer :)

The "dietary aids" companies already do this for those whom buy 'too
much' chocolate logged on their store cards!

(And other less subtle subtleties :-( )

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list