1、select object_id from all_objects where object_name='object_name'2、select * from v$database