偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

IBM DB2數(shù)據(jù)庫的數(shù)據(jù)移動(dòng)作用

數(shù)據(jù)庫
以下的文章主要向大家介紹的是IBM DB2數(shù)據(jù)庫的數(shù)據(jù)移動(dòng)作用,導(dǎo)入與裝入一般都是利用DB2數(shù)據(jù)庫的相關(guān)命令把某種格式的文件中的數(shù)據(jù)保存到數(shù)據(jù)庫中的表中。

此文主要向大家介紹的是IBM DB2數(shù)據(jù)庫的數(shù)據(jù)移動(dòng)的功能,以及對導(dǎo)入和裝入都是利用DB2數(shù)據(jù)庫的相關(guān)命令把某種格式的文件中的數(shù)據(jù)保存到數(shù)據(jù)庫中的表中的介紹,以下就是相關(guān)內(nèi)容的具體描述。

 

DB2中所謂的數(shù)據(jù)移動(dòng),包括:

 

1. 數(shù)據(jù)的導(dǎo)入(import)

2. 數(shù)據(jù)的導(dǎo)出(export)

3. 數(shù)據(jù)的裝入(load)

導(dǎo)入和裝入都是利用db2的相關(guān)命令把某種格式的文件中的數(shù)據(jù)保存到數(shù)據(jù)庫中的表中。

導(dǎo)出是指把db2數(shù)據(jù)庫的表中的數(shù)據(jù)保存到某種格式的文件當(dāng)中去。

數(shù)據(jù)移動(dòng)的作用:

如果要在不同的數(shù)據(jù)庫管理系統(tǒng)之間轉(zhuǎn)移數(shù)據(jù),數(shù)據(jù)移動(dòng)通常是最實(shí)用的一種方法,因?yàn)槿魏我环N數(shù)據(jù)庫管理系統(tǒng)都支持常用的幾種文件格式,通過這個(gè)通用的接口,就很容易實(shí)現(xiàn)不同系統(tǒng)間數(shù)據(jù)的轉(zhuǎn)移。

這三個(gè)命令中,export最簡單,因?yàn)閺谋碇邢蛭募D(zhuǎn)移數(shù)據(jù),通常不會(huì)出現(xiàn)錯(cuò)誤,也不會(huì)有非法的數(shù)據(jù)。

在講解命令之前,首先介紹一下文件的格式。

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

 

  1. 10 head Office 160 corporate new york  
  2. 15 new england 50 eastern boston  
  3. 20 mid atlantic 10 eastern washington  
  4. 38 south atlantic 30 eastern atlanta  
  5. 42 great lakes 100 midwest chicago  
  6. 51 plains 140 midwest dallas  
  7. 66 pacific 270 western san francisco  
  8. 84 mountain 290 western denver  

 

2. del——定界ascii文件,也是一個(gè)ascii字符流。數(shù)據(jù)流中的行由行定界符分隔,行中的列值由列定界符分隔。文件類型修飾符可用于修改這些定界符的默認(rèn)值。例如:

 

  1. 10,"head office",160,"corporate","new york"  
  2. 15,"new england",50,"eastern","boston"  
  3. 20,"mid atlantic",10,"eastern","washington"  
  4. 38,"south atlantic",30,"eastern","atlanta"  
  5. 42,"great lakes",100,"midwest","chicago"  
  6. 51,"plains",140,"midwest","dallas"  
  7. 66,"pacific",270,"western","san francisco"  
  8. 84,"mountain",290,"western","denver"  

 

以上的相關(guān)內(nèi)容就是對IBM DB2數(shù)據(jù)庫的數(shù)據(jù)移動(dòng)的作用的介紹,望你能有所收獲。

【編輯推薦】

  1. 實(shí)現(xiàn)DB2HADRv8.2 EE實(shí)施的正確操作步驟
  2. DB2 LOAD命令所提供的選項(xiàng)及注冊表變量大全
  3. DB2快照函數(shù)全解析經(jīng)典版
  4. DB2:信息管理 盡在掌握
  5. DB2 9 XML 性能優(yōu)勢
責(zé)任編輯:佚名 來源: zol
相關(guān)推薦

2010-08-06 10:29:01

IBM DB2數(shù)據(jù)移

2011-03-25 14:07:12

IBMDB2數(shù)據(jù)庫數(shù)據(jù)移動(dòng)

2010-08-26 11:05:39

DB2數(shù)據(jù)移動(dòng)

2010-08-05 17:40:19

IBM DB2數(shù)據(jù)移動(dòng)

2010-07-27 11:08:49

DB2數(shù)據(jù)移動(dòng)

2010-05-31 08:42:25

IBM DB2

2010-08-17 16:24:32

IBM DB2數(shù)據(jù)庫

2010-09-06 10:00:00

DB2數(shù)據(jù)庫

2009-03-25 17:43:09

備份DB2IBM

2010-08-12 10:54:21

IBM DB2數(shù)據(jù)庫

2011-03-14 17:51:04

IBMDB2數(shù)據(jù)庫

2011-03-11 16:02:03

DB2數(shù)據(jù)庫安裝

2010-09-07 13:22:36

IBM DB2

2011-03-11 16:13:37

IBM DB2數(shù)據(jù)庫日期操作函數(shù)

2010-08-04 12:54:44

IBM DB2數(shù)據(jù)庫產(chǎn)

2011-05-13 09:49:55

DB2數(shù)據(jù)移動(dòng)

2010-09-01 13:38:41

DB2數(shù)據(jù)復(fù)制

2010-08-03 14:34:23

IBM DB2 ECO

2010-08-03 14:46:25

2010-11-03 16:32:10

DB2創(chuàng)建數(shù)據(jù)庫
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號