Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Another "simple function problem"
Wed, Jun 18 2008 10:46 AMPermanent Link

Heiko Knuettel
When executing


CREATE FUNCTION sflagset(IN str VARCHAR(100), IN fl INTEGER)
RETURNS BOOLEAN
BEGIN
  return (substr(str, fl, 1)='J');
END


I get the error


'' is not a valid integer value

EDB 2.00, using EDB Manager
Wed, Jun 18 2008 2:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Heiko,

<< I get the error >>

Yep, it's a bug in the handling of the last SUBSTR parameter.  A fix will be
in 2.00 B2.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image