- From: Steve Harris <steve.harris@garlik.com>
- Date: Tue, 9 Nov 2010 02:07:37 +0000
- To: Steve Harris <steve.harris@garlik.com>
- Cc: Andy Seaborne <andy.seaborne@epimorphics.com>, Lee Feigenbaum <lee@thefigtrees.net>, Axel Polleres <axel.polleres@deri.org>, SPARQL Working Group <public-rdf-dawg@w3.org>
On 2010-11-09, at 01:15, Steve Harris wrote: > In SQL RAND(n) always returns the same number, for any given n. I'm not quite sure if it sets the seed to be used by the next call to RAND() or not. Actually, I'm wrong about that, in MySQL at least it's the same number for a given n, and a given row number. We don't really have a concept of rows, but maybe something can be done to serially number solutions? A valid test would then be FILTER(RAND(23) = RAND(23)), which should always be true. - Steve -- Steve Harris, CTO, Garlik Limited 1-3 Halford Road, Richmond, TW10 6AW, UK +44 20 8439 8203 http://www.garlik.com/ Registered in England and Wales 535 7233 VAT # 849 0517 11 Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD
Received on Tuesday, 9 November 2010 02:08:17 UTC