Hi,
I need to alter multiple tables in a schema, for all tables prefixed with something, for example:
ALTER TABLE "SCHEMA"."TABLE1"
ADD ( "COLUMN1" CHARACTER(4) NOT NULL DEFAULT 'DATA',
"COLUMN2" VARCHAR(16) NOT NULL DEFAULT 'MORE_DATA',
);
I need this to iterate over multiple tables, like SCHEMA.table1, SCHEMA.table2... and so on. There is around 800 tables in the schema.
I was wondering if there is some kind of wildcard that I could use? I was looking at creating a cursor from the System tables, but was sure there must be an easier way.