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

本帖于 2017-07-04 08:54:22 时间, 由普通用户 ViBravo 编辑

在 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

请您先登陆,再发跟帖!