Issue with "table valued function"
Posted: Thu 18 Feb 2016 17:11
Hi,
I have an issue with table values functions.
Using the "TMStoredProc" component I chose unter the tab "Stored Proc Call Generator" a table valued funktion from the drop down list and click on "Generate". I get the error "Unknown field type "table" (OLE DB code = 0h)". I have the same issue with the unidac components.
The function is created with:
CREATE FUNCTION [dbo].[udf_FunctionName](@Param datetime)
RETURNS @ReturnValue TABLE
As
begin
....
insert @ReturnValue
select * from result_table
Return
end
Is that a bug or is sdac not compatible with a return table?
Regards
I have an issue with table values functions.
Using the "TMStoredProc" component I chose unter the tab "Stored Proc Call Generator" a table valued funktion from the drop down list and click on "Generate". I get the error "Unknown field type "table" (OLE DB code = 0h)". I have the same issue with the unidac components.
The function is created with:
CREATE FUNCTION [dbo].[udf_FunctionName](@Param datetime)
RETURNS @ReturnValue TABLE
As
begin
....
insert @ReturnValue
select * from result_table
Return
end
Is that a bug or is sdac not compatible with a return table?
Regards