Compare commits
No commits in common. '4ae72eacc9aeca3e7b8ab118db36e021e6cf735a' and '5046b25764b26a28763f1b357ebda8c3b729b2a6' have entirely different histories.
4ae72eacc9
...
5046b25764
22 changed files with 271 additions and 173 deletions
@ -1 +1 @@ |
|||||||
11.09.2025 |
01.09.2025 |
||||||
|
File diff suppressed because one or more lines are too long
@ -1,14 +0,0 @@ |
|||||||
-- Function: decval |
|
||||||
-- Wandelt String Datentypen zu numeric um |
|
||||||
|
|
||||||
create procedure decval(p_str varchar(255)) |
|
||||||
returning decimal(16,2); |
|
||||||
|
|
||||||
return p_str::decimal(16,2); |
|
||||||
end procedure; |
|
||||||
|
|
||||||
create procedure decval(p_str char(255)) |
|
||||||
returning decimal(16,2); |
|
||||||
|
|
||||||
return p_str::decimal(16,2); |
|
||||||
end procedure; |
|
@ -1,11 +0,0 @@ |
|||||||
-- Function: decval |
|
||||||
-- Wandelt String Datentypen zu numeric um |
|
||||||
|
|
||||||
CREATE or replace FUNCTION decval(varchar(255)) RETURNS numeric(16,2) STABLE |
|
||||||
AS 'select replace($1,'','',''.'')::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
||||||
|
|
||||||
CREATE or replace FUNCTION decval(text) RETURNS numeric(16,2) STABLE |
|
||||||
AS 'select replace($1,'','',''.'')::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
||||||
|
|
||||||
CREATE or replace FUNCTION decval(char(255)) RETURNS numeric(16,2) STABLE |
|
||||||
AS 'select replace($1,'','',''.'')::numeric where trim($1) !='''' ' LANGUAGE sql; |
|
Loading…
Reference in new issue