2009-07-28 70 views
0

我有3套不同的信息的數據文件中像下面這樣:如何寫一個SQL Loader控制文件將數據加載到多個表

@@@08016995BUILD 12/15/04POSITION 
"AABPX ","76826309","M","L","  1509.4340" 
----More similar Records_------------------------- 
@@@08016995BUILD 12/15/04SECDESC 
"AABPX ","mf","AMERICAN AADVANTAGE BALA","NCED PLAN AHEAD   ","      ","      "," 14.4500","121504"," 14.4500" 
-----More similar Records----------------------- 
@@@08016995BUILD 12/15/04CUSTOMER 
"xxxxxxx","FINANCIAL SOLUTIONS  ","ACCOUNT    ","xxxxx ST    ","xx   xxxxx","        ","000-000-0000","xxx-xxx-xxxx","xxxxx","xx","xxxxx"," ","xx"," "," "," " 
      "," 14.4500","121504"," 14.4500" 
-----More similar Records----------------------- 
end of data file 

現在我想寫這將推動一個控制文件第一組數據到位置表,第二組數據到秒錶,第三組數據到客戶表。我怎樣才能做到這一點?

回答

相關問題