如何在ssis中替换列的字符串 [英] how to replace a string for column in ssis
本文介绍了如何在ssis中替换列的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个类似下面的场景
i在表格中有列emailid
i希望加载数据并替换* for示例emailid如mahesh8989@gmail.com与ma ***** 89@gmail.com
i have a scenario like below
i have column emailid in table emp
i want to load the data with the replacement of * for example emailid like mahesh8989@gmail.com with ma*****89@gmail.com
推荐答案
SSIS使用SQL。为什么不使用SQL查询? SqlFiddle [ ^ ]
如需了解更多信息,请参阅:
REPLACE [ ^ ]
SUBSTRING [ ^ ]
REPLICATE [ ^ ]
SSIS uses SQL. Why don't to use SQL query? SqlFiddle[^]
For further information, please see:
REPLACE[^]
SUBSTRING[^]
REPLICATE[^]
我们可以在执行SQL任务中使用上面的内容。但是有没有其他方法可以使用表达式?
we can use the above in the Execute SQL task..But is there any other way by using expressions??
这篇关于如何在ssis中替换列的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文