在 Talend Open Studio 8.x 中创建具有外键输出的 SQL Server 表
我正在使用 Talend 将一张表从一台 SQL Server(源)迁移到另一台 SQL Server(目标)。
源表没有任何索引。我想在目标表添加一些索引。
在 Talend studio 中,如何添加或创建目标表的索引?。
我怎么做呢?或者我应该使用什么 Talend 组件?
我正在使用 Talend Open Studio 8.0.1 和 SQL Server 2019。
谢谢。
I'm using Talend to migrate one table from one SQL Server (source) to other SQL Server (target).
The source table not have any index. And I want to add some index at target table.
In Talend studio, How I can add or create the index for target table?.
How I do it? Or what Talend's component should I use?.
I am using Talend Open Studio 8.0.1 and SQL Server 2019.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用tDbRow组件来执行sql语句,并且不要忘记tDbCommit组件来提交数据库并在需要时关闭连接,
您需要执行的查询如下例如创建非聚集索引
删除索引
查看数据库中的所有索引
You can use tDbRow component to execute the sql statement and don't forget a tDbCommit component to commit the database and close the connextion if needed
the query you need to execute is as such Create Nonclustered Indexes
Drop Index
See all Indexes in a database