随笔分类 - sql基础
摘要:SQL书写技巧:1、针对分区表,如果可以使用分区条件的,一定要加分区条件。分区条件的使用,可以减少不必要的数据访问,加快查询数据,如TB_CSV_ACCEPT_FLOW_OPERATOR表,以accept_month字段分区,在sql中如加上accept_month=’value’,则可以在指定的分...
阅读全文
摘要:简述drop table tmp_qry_cus_186mcc_highuser_d;create global temporary table tmp_qry_cus_186mcc_highuser_d( user_id number(15))on commit preserve rows; 这...
阅读全文

浙公网安备 33010602011771号