[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: duplicate key violation on insert to parts
- Subject: Re: duplicate key violation on insert to parts
- From: Eamonn Hamilton <..hidden..>
- Date: Sun, 16 Nov 2008 13:05:42 +0000
Thanks Chris,
That worked a treat.
On Thu, 2008-11-13 at 15:20 -0800, Chris Travers wrote:
> select setval('id', (select max(id) from transactions));
>
> That will fix your problem.
>
> Best Wishes,
> Chris Travers
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>