On 5 Dec 2006 at 8:41, Sean Davis wrote:

> > Is there an idiom for this kind of task? And how can I do it with RDBO?
> > (I did a search for 'lock' in the docs and didn't find anything)
> 
> Are you using postgresql?  If so, could you use a sequence and set the 
> sequence back to 1 at a specified time each year?  

No, at least not yet. At the moment I am using sqlite because it is so 
easy to handle. But I would like to be able to move to a more 'grown 
up' database engine in the future, so it would be nice if a solution 
was portable.

Cheers,
Michael


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to