I create this function
ALTER FUNCTION [dbo].[FxPackageReport]
( @packageId int )
RETURNS table
AS
RETURN (
select *from TestPackageReportDetails where TestPackageId=@packageId and step='LineCheck'
)
select *from dbo.fxpackagereport(5457)
The result :
I want to merge this columns inside my select something like this :
select id,select *from dbo.fxpackagereport(id), from testpackage
Is there any solution to merge this result with my query >?I just want to bring the table result inside my query .