| |
- Causa
- DROP OR COMMENT ON object IDENTIFIES A(N) object-type1 RATHER THAN A(N) object-type2
The object specified in the DROP VIEW statement, DROP ALIAS statement, or COMMENT ON ALIAS statement identifies a table instead of a view or an alias.
The DROP VIEW statement can have only a view as its object.
The DROP ALIAS or COMMENT ON ALIAS statement can have only an alias as its object.
You must use the DROP TABLE statement to drop a table that is neither a view nor an alias.
You must use the COMMENT ON TABLE statement to comment on a table or view.
- Ação do sistema
- The statement cannot be executed.
- Resposta ao Desenvolvedor
- Correct the DROP VIEW, DROP ALIAS, or COMMENT ON ALIAS statement so that the view name or the alias name is specified correctly (with the proper
qualifier). If you intended to drop or comment on the specified table, use the DROP TABLE or COMMENT ON TABLE statement.
SQLSTATE: 42809
© Copyright IBM Corp.
|
| |