mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +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 (
|
create function dow (
|
||||||
val timestamp
|
val timestamp
|
||||||
) returns varchar(53) character set utf8
|
) returns varchar(53) character set none
|
||||||
external name 'udf_compat!UC_dow'
|
external name 'udf_compat!UC_dow'
|
||||||
engine udr;
|
engine udr;
|
||||||
|
|
||||||
create function sdow (
|
create function sdow (
|
||||||
val timestamp
|
val timestamp
|
||||||
) returns varchar(13) character set utf8
|
) returns varchar(13) character set none
|
||||||
external name 'udf_compat!UC_sdow'
|
external name 'udf_compat!UC_sdow'
|
||||||
engine udr;
|
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
|
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'DOW')) then execute statement
|
||||||
'alter function dow (
|
'alter function dow (
|
||||||
val timestamp
|
val timestamp
|
||||||
) returns varchar(53) character set utf8
|
) returns varchar(53) character set none
|
||||||
external name ''udf_compat!UC_dow''
|
external name ''udf_compat!UC_dow''
|
||||||
engine udr';
|
engine udr';
|
||||||
|
|
||||||
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'SDOW')) then execute statement
|
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'SDOW')) then execute statement
|
||||||
'alter function sdow (
|
'alter function sdow (
|
||||||
val timestamp
|
val timestamp
|
||||||
) returns varchar(13) character set utf8
|
) returns varchar(13) character set none
|
||||||
external name ''udf_compat!UC_sdow''
|
external name ''udf_compat!UC_sdow''
|
||||||
engine udr';
|
engine udr';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user