-7018: Variable not allowed in view definition

Explanation:

Parameters must not be specified in the CREATE VIEW statement.

User Action:

Use variables instead of constants.