如何根据SSIS中的条件将桌子上的所有行传递

发布于 2025-02-03 00:43:26 字数 649 浏览 0 评论 0原文

我正在使用SSIS 2019。

我有一个方案,我想根据条件将所有行传递在表中。

例如,

源有4行..其中一列是一个标志,

如果标志= a, 则具有A和B值 我想将整个4行从源传递到表格(不仅是具有标志a的行

) 我想将整个4行从源传递到另一个表

”在此处输入图像描述”

它就像一个多播的转换,但有一个条件。.

我尝试使用条件分开使用条件

flag =='a'?正确:false

,但这仅通过具有标志a的行,

无论如何在SSI中是否有这样做?

提前致谢。

I am using SSIS 2019.

I have a scenario where I want to pass all rows in a table depending on a condition.

For Example

Source

Source

Source Has 4 rows.. one of the columns is a flag that has A and B values

if the flag = A
I want to pass the whole 4 rows from source to a table (not only the rows that has flag A)

if the flag = B
I want to pass the whole 4 rows from source to another table

enter image description here

its like a multicast transformation but with a condition ..

i tried to use conditional split using the condition

FLAG == 'A' ? TRUE : FALSE

but this only passes the rows that has flag A ..

is there anyway to do this in ssis ?

Thanks in advance.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文