"sasha" ...
>
> И там при перекомпилляции других процедур, использующих эти без указания
> умолчательных параметров, вылазит Invalir BLR request или что-то в этом
> духе...
create or alter procedure ppp (x int = CURRENT_TRANSACTION)
returns (y int)
as
begin
y = x;
suspend;
end
create domain ddd int;
create or alter procedure ppp2 (x ddd = CURRENT_TRANSACTION)
returns (y int)
as
begin
y = x;
suspend;
end
create or alter procedure ppp_call returns (a int)
as
begin
select y from ppp into :a;
suspend;
end
select * from ppp
select * from ppp(123)
select * from ppp_call
create or alter procedure ppp2_call returns (a int)
as
begin
select y from ppp2 into :a;
suspend;
end
select * from ppp2
select * from ppp2(234)
select * from ppp2_call
Не вижу проблем
--
Хорсун Влад