要,還要column mapping,比import text file 麻煩些

回答: 謝謝,需要自己先create table嗎?黑襯衫2017-07-04 07:51:18

所有跟帖: 

做之前,是不是先要figure out table之間的關係 -黑襯衫- 給 黑襯衫 發送悄悄話 (78 bytes) () 07/04/2017 postreply 08:11:31

PK 和 FK 的設定跟 tables 和 data 都有關 -ViBravo- 給 ViBravo 發送悄悄話 (0 bytes) () 07/04/2017 postreply 08:27:09

那我的file裏有大量的parent table 和child table, -黑襯衫- 給 黑襯衫 發送悄悄話 (289 bytes) () 07/04/2017 postreply 08:37:17

不是這樣做。在import xml file前,先用SSIS generate XSD(xml schema definitio -ViBravo- 給 ViBravo 發送悄悄話 (172 bytes) () 07/04/2017 postreply 08:53:30

謝謝????,我不知道如何做,我再研究下. -黑襯衫- 給 黑襯衫 發送悄悄話 (0 bytes) () 07/04/2017 postreply 09:11:34

就是說XSD會自己create table在sql server嗎? -黑襯衫- 給 黑襯衫 發送悄悄話 (0 bytes) () 07/04/2017 postreply 09:15:14

XSD隻是顯示 data structure。destination tables還要另外create -ViBravo- 給 ViBravo 發送悄悄話 (0 bytes) () 07/04/2017 postreply 09:39:00

那就是說:還得自己一個一個的在sql server destination database create table, pk -黑襯衫- 給 黑襯衫 發送悄悄話 (30 bytes) () 07/04/2017 postreply 09:50:34

Yes -ViBravo- 給 ViBravo 發送悄悄話 (0 bytes) () 07/04/2017 postreply 10:19:31

Thank you very much ! -黑襯衫- 給 黑襯衫 發送悄悄話 (0 bytes) () 07/04/2017 postreply 10:29:28

請您先登陸,再發跟帖!