https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26328

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from David Cook <[email protected]> ---
That's an interesting one.

Your suggestion returns a value of 9223372036854775807. I would say that is an
undesirable outcome as well.

It's probably better to use something like this:

SELECT MAX(ABS(barcode)) FROM items WHERE barcode REGEXP '^[0-9]+$';

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to