I am importing comments on 1500 tables from a separate source. I would like to put a comment on each table ONLY if one does not currently exist (COMMENTS field is NULL). A command like:
COMMENT ON TABLE
owner1.table1 IS
'Test 4 adding comment'
WHERE owner = 'OWNER1'
AND table_name = 'TABLE1';
But the WHERE clause is not valid. Is there a way to effectively do this for 1500 COMMENT statements?
Thanks.
Software/Hardware used:
ASKED:
December 4, 2008 2:39 PM
UPDATED:
April 20, 2012 12:45 PM