You cannot rename a column and modify that column at the same time. For example, the following statement causes an error because column c1 is being renamed and modified at the same time: alter table t1 (
rename column c1 to c2,
modify column c1
int). However, the following statement is permissible because different columns are being renamed and modified:
alter table t1 (
rename column c1 to c2,
modify column c3
int).
The file specified uses data file format v6.x or before and must be migrated to the current version of data file format before it can be used. Use
Rebuild utility to migrate file versions.
In SQL Engine Reference, see
GRANT for more information about valid syntax.
Tables, views, procedures, and functions can be associated with databases only. Triggers, indexes, and columns can be associated with databases and tables. The following statement is permissible because the database name and table name may be used to qualify an index name: alter index rename database1:table1:index1
to index2. However, the following statement causes an error because a view name can be qualified only with a database name:
alter view rename database1:table1:view1 to view2. A permissible statement is
alter view rename database1:view1 to view2 or
alter view rename view1 to view2.