仅表结构复制作业

仅表结构复制作业

本文介绍了仅表结构复制作业?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ADFv2中,是否可以编写作业,将唯一的源表结构复制到目标位置?

In ADFv2, is it possible to write the job, copy the only source table structure into destination?

推荐答案

是的,您可以使用获取元数据活动,首先获取源表的结构,然后使用" @ {{activity('MyGetMetadataActivity').output.structure}"来获取结构输出.

Yep, you could use Get Metadata activity to firstly get the structure of the source table and then use "@{activity('MyGetMetadataActivity').output.structure}" to fetch the structure output.

如果目标位置是基于sql的数据存储,则可以使用S ,并使用输出结构作为参数来执行复制任务.

If your destination is a sql-based datastore, you can use a Stored Procedure Activity with the output structure as parameter to perform the copy task.


这篇关于仅表结构复制作业?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 08:33