[Bug # 234217] Dynamic and host variables in create view statements were allowed in earlier versions, but worked incorrectly when:
create view statements were replicated, or
Views containing dynamic and host variables were upgraded from text in the syscomments table.
To fix this problem, dynamic and host variables are no longer allowed in create view statements.
Workaround: To allow dynamic and host variables with this incorrect behavior in create view statements, start Adaptive Server with trace flag 108:
dataserver -dd_master -T108