mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
One more attempt to fix DOW function on windows
This commit is contained in:
parent
5b8e562c80
commit
e83d59492f
@ -14,13 +14,13 @@ create function frac (
|
||||
|
||||
create function dow (
|
||||
val timestamp
|
||||
) returns varchar(53) character set utf8
|
||||
) returns varchar(53) character set none
|
||||
external name 'udf_compat!UC_dow'
|
||||
engine udr;
|
||||
|
||||
create function sdow (
|
||||
val timestamp
|
||||
) returns varchar(13) character set utf8
|
||||
) returns varchar(13) character set none
|
||||
external name 'udf_compat!UC_sdow'
|
||||
engine udr;
|
||||
|
||||
|
@ -56,14 +56,14 @@ if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB
|
||||
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'DOW')) then execute statement
|
||||
'alter function dow (
|
||||
val timestamp
|
||||
) returns varchar(53) character set utf8
|
||||
) returns varchar(53) character set none
|
||||
external name ''udf_compat!UC_dow''
|
||||
engine udr';
|
||||
|
||||
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'SDOW')) then execute statement
|
||||
'alter function sdow (
|
||||
val timestamp
|
||||
) returns varchar(13) character set utf8
|
||||
) returns varchar(13) character set none
|
||||
external name ''udf_compat!UC_sdow''
|
||||
engine udr';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user