Browse Source

Bugfix function decval decimal separator , #313580

userinfo_gueltigkeit
Daniel Quathamer 11 months ago
parent
commit
efd85075a3
  1. 6
      superx/WEB-INF/conf/edustore/db/install/conf/kern.xml

6
superx/WEB-INF/conf/edustore/db/install/conf/kern.xml

@ -6956,7 +6956,7 @@ CREATE or replace FUNCTION val(smallint) RETURNS integer STABLE @@ -6956,7 +6956,7 @@ CREATE or replace FUNCTION val(smallint) RETURNS integer STABLE
<src>
<body><![CDATA[
CREATE or replace FUNCTION decval(varchar(255)) RETURNS numeric(16,2) STABLE
AS 'select to_number($1,''S9999999999999D99'' ) where trim($1) !='''' ' LANGUAGE sql;
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql;
]]></body>
<author>D.Quathamer</author>
<lastupdated>9.1.2004</lastupdated>
@ -7001,7 +7001,7 @@ end procedure; @@ -7001,7 +7001,7 @@ end procedure;
<src>
<body><![CDATA[
CREATE or replace FUNCTION decval(text) RETURNS numeric(16,2) STABLE
AS 'select to_number($1,''S9999999999999D99'' ) where trim($1) !='''' ' LANGUAGE sql;
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql;
]]></body>
<author>D.Quathamer</author>
<lastupdated>9.1.2004</lastupdated>
@ -7033,7 +7033,7 @@ CREATE or replace FUNCTION decval(text) RETURNS numeric(16,2) STABLE @@ -7033,7 +7033,7 @@ CREATE or replace FUNCTION decval(text) RETURNS numeric(16,2) STABLE
<src>
<body><![CDATA[
CREATE or replace FUNCTION decval(char(255)) RETURNS numeric(16,2) STABLE
AS 'select to_number($1,''S9999999999999D99'' ) where trim($1) !='''' ' LANGUAGE sql;
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql;
]]></body>
<author>D.Quathamer</author>
<lastupdated>9.1.2004</lastupdated>

Loading…
Cancel
Save