Puedes hacer esto (en Oracle, en mssql hay un poco diferente):
select count(*)
from all_objects
where object_type in ('TABLE','VIEW')
and object_name = 'your_table_name';
Puedes hacer esto (en Oracle, en mssql hay un poco diferente):
select count(*)
from all_objects
where object_type in ('TABLE','VIEW')
and object_name = 'your_table_name';