How to SELECT a PROCEDURE in Firebird 2.5

前端 未结 8 1353
误落风尘
误落风尘 2021-01-11 23:21

I\'m using Firebird Embedded v2.5. How to use procedures in query (SELECT) ?

My procedure:

SET TERM ^ ;
CREAT         


        
8条回答
  •  天涯浪人
    2021-01-11 23:38

    SELECT some_table_field_1, 
       (select X from fn_test( 4 )) AS zzz, 
       some_table_field_2,
       (select X from fn_test( some_table_field_2 )) AS field_2_modified
    FROM   tb_test
    

提交回复
热议问题