-4736 A PERIOD SPECIFICATION OR PERIOD CLAUSE IS NOT SUPPORTED AS SPECIFIED FOR OBJECT object-name. REASON CODE = reason-code.
A period specification or period clause is not valid as specified.
- The name of the object.
- A numeric value that indicates why the period specification or
period clause is invalid:
- In a CREATE FUNCTION statement for object-name, the definition of the function contains a period specification that is not supported. The routine body of an SQL scalar function must not contain a period specification or period clause. A RETURN statement in a table function must not contain a period specification.
- In a CREATE VIEW statement for object-name, a fullselect must not contain a period specification.
- In an UPDATE statement for the view object-name, the result table of the outer fullselect of the view definition, explicitly or implicitly, must include the start and end columns of the BUSINESS_TIME period.
The statement cannot be processed.
Either remove the period specification or period clause, or change the statement to reference a different object.