不是這樣做。在import xml file前,先用SSIS generate XSD(xml schema definitio

本文內容已被 [ ViBravo ] 在 2017-07-04 08:54:22 編輯過。如有問題,請報告版主或論壇管理刪除.

在 import xml file前, 先用SSIS generate XSD(xml schema definition)file, XSD file 會根據 source xml file
確定 parent table/PK  vs  child table/FK

所有跟帖: 

謝謝????,我不知道如何做,我再研究下. -黑襯衫- 給 黑襯衫 發送悄悄話 (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

請您先登陸,再發跟帖!