Tests the views in a Teradata database to see if they are selectable