【发布时间】:2017-03-30 11:34:55
【问题描述】:
我想在 Talend 中调用 SP,如下所示:
`/ Declare a variable that references the type. /
DECLARE @LocationTVP AS LocationTableType;
/ Add data to the table variable. /
INSERT INTO @LocationTVP (LocationName, CostRate)
SELECT Name, 0.00
FROM AdventureWorks2012.Person.StateProvince;
/ Pass the table variable data to a stored procedure. /
EXEC usp_InsertProductionLocation @LocationTVP;`
这可以在 Talend Open Source 中完成吗?如果有,怎么做?
【问题讨论】:
-
您尝试过 tYourDBSP 组件吗?它们可用于进行一些存储过程调用。
标签: sql stored-procedures talend edi