程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> DB2數據庫 >> DB2教程 >> DB2數據移動的作用(2)

DB2數據移動的作用(2)

編輯:DB2教程

1. asc——非定界ascii文件,是一個ascii字符流。數據流中的行由行定界符分隔,而行中的每一列則通過起始和結束位置來定義。例如:

10 head Office 160 corporate new york

15 new england 50 eastern boston

20 mid atlantic 10 eastern washington

38 south atlantic 30 eastern atlanta

42 great lakes 100 midwest chicago

51 plains 140 midwest dallas

66 pacific 270 western san francisco

84 Mountain 290 western denver

2. del——定界ascii文件,也是一個ascii字符流。數據流中的行由行定界符分隔,行中的列值由列定界符分隔。文件類型修飾符可用於修改這些定界符的默認值。例如:

10,"head Office",160,"corporate","new york"

15,"new england",50,"eastern","boston"

20,"mid atlantic",10,"eastern","washington"

38,"south atlantic",30,"eastern","atlanta"

42,"great lakes",100,"midwest","chicago"

51,"plains",140,"midwest","dallas"

66,"pacific",270,"western","san francisco"

84,"Mountain",290,"western","denver"

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved