|
|
@ -7159,6 +7159,82 @@ CREATE or replace FUNCTION val(smallint) RETURNS integer STABLE |
|
|
|
</returns> |
|
|
|
</returns> |
|
|
|
</function> |
|
|
|
</function> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<function version="3.0"> |
|
|
|
|
|
|
|
<name>decval</name> |
|
|
|
|
|
|
|
<description>Liefert einen String als decimal (analog Basic-Funktion |
|
|
|
|
|
|
|
val). </description> |
|
|
|
|
|
|
|
<parameters> |
|
|
|
|
|
|
|
<param> |
|
|
|
|
|
|
|
<name>wert</name> |
|
|
|
|
|
|
|
<type>varchar(255)</type> |
|
|
|
|
|
|
|
<description>Eine String-Repräsentation einer Dezimalzahl |
|
|
|
|
|
|
|
</description> |
|
|
|
|
|
|
|
</param> |
|
|
|
|
|
|
|
</parameters> |
|
|
|
|
|
|
|
<src> |
|
|
|
|
|
|
|
<body><![CDATA[ |
|
|
|
|
|
|
|
CREATE or replace FUNCTION decval(varchar(255)) RETURNS numeric(16,2) STABLE |
|
|
|
|
|
|
|
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
|
|
|
|
|
|
]]></body> |
|
|
|
|
|
|
|
<author>D.Quathamer</author> |
|
|
|
|
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
|
|
|
|
<dbsystem>POSTGRES</dbsystem> |
|
|
|
|
|
|
|
<type>function</type> |
|
|
|
|
|
|
|
</src> |
|
|
|
|
|
|
|
<src> |
|
|
|
|
|
|
|
<body><![CDATA[ |
|
|
|
|
|
|
|
create procedure decval(p_str varchar(255)) |
|
|
|
|
|
|
|
returning decimal(16,2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return p_str::decimal(16,2); |
|
|
|
|
|
|
|
end procedure; |
|
|
|
|
|
|
|
]]></body> |
|
|
|
|
|
|
|
<author>D.Quathamer</author> |
|
|
|
|
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
|
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
|
|
|
|
<type>procedure</type> |
|
|
|
|
|
|
|
</src> |
|
|
|
|
|
|
|
<returns> |
|
|
|
|
|
|
|
<param> |
|
|
|
|
|
|
|
<name>wert</name> |
|
|
|
|
|
|
|
<type>numeric</type> |
|
|
|
|
|
|
|
<description /> |
|
|
|
|
|
|
|
</param> |
|
|
|
|
|
|
|
<comment>Die Zahl</comment> |
|
|
|
|
|
|
|
</returns> |
|
|
|
|
|
|
|
</function> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<function version="3.0"> |
|
|
|
|
|
|
|
<name>decval</name> |
|
|
|
|
|
|
|
<description>Liefert einen String als decimal (analog Basic-Funktion |
|
|
|
|
|
|
|
val). </description> |
|
|
|
|
|
|
|
<parameters> |
|
|
|
|
|
|
|
<param> |
|
|
|
|
|
|
|
<name>wert</name> |
|
|
|
|
|
|
|
<type>text</type> |
|
|
|
|
|
|
|
<description>Eine String-Repräsentation einer Dezimalzahl |
|
|
|
|
|
|
|
</description> |
|
|
|
|
|
|
|
</param> |
|
|
|
|
|
|
|
</parameters> |
|
|
|
|
|
|
|
<src> |
|
|
|
|
|
|
|
<body><![CDATA[ |
|
|
|
|
|
|
|
CREATE or replace FUNCTION decval(text) RETURNS numeric(16,2) STABLE |
|
|
|
|
|
|
|
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
|
|
|
|
|
|
]]></body> |
|
|
|
|
|
|
|
<author>D.Quathamer</author> |
|
|
|
|
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
|
|
|
|
<dbsystem>POSTGRES</dbsystem> |
|
|
|
|
|
|
|
<type>function</type> |
|
|
|
|
|
|
|
</src> |
|
|
|
|
|
|
|
<returns> |
|
|
|
|
|
|
|
<param> |
|
|
|
|
|
|
|
<name>wert</name> |
|
|
|
|
|
|
|
<type>numeric</type> |
|
|
|
|
|
|
|
<description /> |
|
|
|
|
|
|
|
</param> |
|
|
|
|
|
|
|
<comment>Die Zahl</comment> |
|
|
|
|
|
|
|
</returns> |
|
|
|
|
|
|
|
</function> |
|
|
|
|
|
|
|
|
|
|
|
<function version="3.0"> |
|
|
|
<function version="3.0"> |
|
|
|
<name>decval</name> |
|
|
|
<name>decval</name> |
|
|
@ -7173,14 +7249,23 @@ CREATE or replace FUNCTION val(smallint) RETURNS integer STABLE |
|
|
|
</param> |
|
|
|
</param> |
|
|
|
</parameters> |
|
|
|
</parameters> |
|
|
|
<src> |
|
|
|
<src> |
|
|
|
<file>$SUPERX_DIR/db/install/prozeduren/proc_decval_pg.sql</file> |
|
|
|
<body><![CDATA[ |
|
|
|
|
|
|
|
CREATE or replace FUNCTION decval(char(255)) RETURNS numeric(16,2) STABLE |
|
|
|
|
|
|
|
AS 'select $1::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
|
|
|
|
|
|
]]></body> |
|
|
|
<author>D.Quathamer</author> |
|
|
|
<author>D.Quathamer</author> |
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
<dbsystem>POSTGRES</dbsystem> |
|
|
|
<dbsystem>POSTGRES</dbsystem> |
|
|
|
<type>function</type> |
|
|
|
<type>function</type> |
|
|
|
</src> |
|
|
|
</src> |
|
|
|
<src> |
|
|
|
<src> |
|
|
|
<file>$SUPERX_DIR/db/install/prozeduren/proc_decval_ids.sql</file> |
|
|
|
<body><![CDATA[ |
|
|
|
|
|
|
|
create procedure decval(p_str char(255)) |
|
|
|
|
|
|
|
returning decimal(16,2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return p_str::decimal(16,2); |
|
|
|
|
|
|
|
end procedure; |
|
|
|
|
|
|
|
]]></body> |
|
|
|
<author>D.Quathamer</author> |
|
|
|
<author>D.Quathamer</author> |
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
<lastupdated>9.1.2004</lastupdated> |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
@ -9891,7 +9976,7 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
</src> |
|
|
|
</src> |
|
|
|
</maske> |
|
|
|
</maske> |
|
|
|
<maske tid="71840" name="Datenblatt archivieren" thema="Datenmanagement"> |
|
|
|
<maske tid="71840" name="Datenblatt archivieren" thema=""> |
|
|
|
<src> |
|
|
|
<src> |
|
|
|
<path>$SUPERX_DIR/db/install/masken</path> |
|
|
|
<path>$SUPERX_DIR/db/install/masken</path> |
|
|
|
<author>D. Quathamer</author> |
|
|
|
<author>D. Quathamer</author> |
|
|
@ -9905,7 +9990,7 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
<dbsystem>INFORMIX</dbsystem> |
|
|
|
</src> |
|
|
|
</src> |
|
|
|
</maske> |
|
|
|
</maske> |
|
|
|
<maske tid="71860" name="Übersicht Datenblatt-Archiv" thema="Datenmanagement"> |
|
|
|
<maske tid="71860" name="Übersicht Datenblatt-Archiv" thema=""> |
|
|
|
<src> |
|
|
|
<src> |
|
|
|
<path>$SUPERX_DIR/db/install/masken</path> |
|
|
|
<path>$SUPERX_DIR/db/install/masken</path> |
|
|
|
<author>I. John</author> |
|
|
|
<author>I. John</author> |
|
|
|