将 Excel/XLS 导入 SSIS?

发布于 2024-10-07 09:56:39 字数 214 浏览 0 评论 0原文

提示、技巧、陷阱和请最佳实践:

换句话说
例如,

请使用此连接
不要使用此数据类型
对 X 进行排序
不要通过网络打开
当 Q 可能时 Z 会被损坏
不要使用“,”而使用“|”作为分隔符
不要使用通过采样 n 行来确定列数据类型的“向导” 不要使用多张纸

(上面的列表并不是一个指南,只是我想到的随机的东西!)

Tips, Tricks, Pitfalls & Best Practice please:

in other words
e.g.

Do use this connection
Don't use this datatype
Do sort X
Don't open over network
Z gets corrupted when Q is likely
Don't use "," use "|" as separator
Don't use 'wizard' that determines column datatype by sampling n rows
Don't use multiple sheet

(the above list is not meant to be a guide, just me thinking of random stuff!)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

葬花如无物 2024-10-14 09:56:39

codeplex 上有一些 Excel 连接管理器。在64位服务器上运行需要使用32位DTEXEC。看起来他们有一个 64 位提供商,但它是从 CozyRoc 出售的。还有 Excel2 管理器,它看起来是免费的。

There are some Excel connection managers on codeplex. Running on a 64 server needs to use the 32 bit DTEXEC. Looks like they have a 64 bit provider, but it's for sale from CozyRoc. There is the Excel2 manager also, which looks free.

∞琼窗梦回ˉ 2024-10-14 09:56:39

您对列数据类型和行采样问题的看法是正确的。

有时,将 Excel 文件保存为 CSV 并导入会更容易。

You are right about column datatypes and problems with row samplings.

Sometimes it's easier to save the Excel file to CSV and import that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文