Create Function or Create Procedure - 04-12-2005 , 12:24 PM
I work with "IBM DB 2 Universal Database for Windows NT" Version 6. I want
to create Function, which are using in a Queries. I don't want to use
external function. I want to create a function, which returns the age of a
person. The parameters of the function or procedure are two variables (Type
is Date). The type of the value, who gives the function back is long.
I try it with these code-lines:
Create function age(Value1 Date, Value2 Date)
These lines produce mistakes.
I hope someone can understand me and can help me.
Re: Create Function or Create Procedure - 04-12-2005 , 12:37 PM
Frank Neubert wrote:
DB2 SQL Compiler Development
IBM Toronto Lab