select * from all_tables where owner=’TEST’; 查询当前用户的所有表,用户名必须要大写。oracle 中的外键都是其他表的主键。 oracle中 手动输入date 类型数据,使用to_date内部函数 如下:to_date(‘2018-05-1’,’YYYY-MM-DD’)即可。