There is no CREATE CLUSTERED INDEX in Oracle.
Additionally, the statement:
Code:
UPDATE customers SET status = "I" WHERE date_last_updated < (today - 365).
is not valid Oracle syntax.
As "I" is using double quotes, this means (to Oracle) I is a column.
Character literals need to be quoted using
single quotes. With double quotes Oracle (and any DBMS compliant with the ANSI standard) will assume you are referencing a column (and I assume you don't have a column called I)
Secondly
today is not a valid Oracle keyword.
Are you sure you are using Oracle?
Looks more like SQL Server to me.