Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从 .net 代码为 sybase 数据库运行 bcp 实用程序?
我想在我从文件中读取的数据库中插入大约 10000 行。因此,我想将文件中的数据转换为 bcp 可读格式,而不是进行需要大量时间的正常插入。
之后,我如何使用 .net 前端调用 sybase 数据库的 bcp 命令?
我正在使用窗口应用程序。
谢谢, 丹尼斯
谢谢,拒绝
您可以使用Process.Start()运行 bcp 实用程序
这是一个例子。