Muchas gracias Maeyanes.
Lo pongo aqui para que este mas visible, simplemente hay que utilizar el nuevo keyword TYPE OF en el momento de declarar las variables o parametros:
Código SQL
[-]
Now with version 2.1 I can use domain in PSQL.
I just need to type the domain name if i want to inheriting the check clause and the default value,
or I can use the TYPE OF keyword if I just want the data type so I can define something like this:
CREATE PROCEDURE INSERT_PRODUCT(
DESCRIPTION STRING,
PRICE TYPE OF MONEY,
ACTIVE BOOL
)
BEGIN
...
END
Es una muy buena cosa!
Aunque lo estoy probando desde el EMS IB MANAGER 3 y me da error de keyword no reconocido.
Sera por la version del IB MANAGER o porque?
Nota: Utilizo la version de servidor Firebird 2.5