안녕하십니까..
인터베이스에서 substring 기능을 쓰려고 하니까..
udf library 에 있는 것을 declare 하라고 하네요..
그래서
DECLARE EXTERNAL FUNCTION substr
CSTRING(256), SMALLINT, SMALLINT
RETURNS CSTRING(80) FREE_IT
ENTRY_POINT 'fn_substr' MODULE_NAME 'udflib';
요렇게 인터베이스 콘솔에서 실행시켜 주고
select substr(tag_date) from collect_dt
요렇게 때리니까.
invalid request BLR at offset63
function SUBSTR is not defined
module name or entry point could not be found on line 1 : select substr(tag_date) from collect_dt
요런 메세지 뜨네요..
고수님들의 조언 부탁드립니다.
박한수 올림
|