CREATE TABLE DMS_POP_WKLY_REFRESH_20100201 NOLOGGING PARALLEL AS SELECT wk.*,bbc.distance_km,NVL(bbc.tactical_broadband_offer,0) tactical_broadband_offer,sel.tactical_select_executive_flag,sel.agent_name,res.DMS_RESIGN_CAMPAIGN_CODE,pclub.tactical_select_flag FROM spineowner.pop_wkly_refresh_20100201 wk,dms_bb_coverage_102009 bbc,dms_select_executive_group sel,DMS_RESIGN_CAMPAIGN_26052009 res,DMS_PRIORITY_CLUB pclub WHERE wk.mpn = bbc.mpn(+) AND wk.mpn = sel.mpn (+) AND wk.mpn = res.mpn (+) AND wk.mpn = pclub.mpn (+)
如何在sql脚本中传递20100201的参数,我需要每次更改此日期格式.
如何通过传递date作为参数来调用此sql脚本并在unix中运行它.这样就可以在每次运行中修改脚本中的日期
请帮帮我.