... as view. That function as well as ADORDD hb_adoRddExistsTable( oCon,cTable, cIndex ) only checks the schema for table or index. As soon as I can Ill change it to hb_adoRddExistsTable( oCon,cTable, cIndex, cView ) also check views. In meantime you can workaround like: TRY CREATE VIEWCATCH ...