Can someone pls help me..? When i exec the statement
SELECT Perf.ID,Perf.WCID,Perf.Material_Group,Perf.MRP_Controller,Perf.Description,Perf.Component_Flag,
Perf.D,Perf.Length,calc.type
FROM PERF_Performance Perf
Left Outer Join dbo.perf_calc(108146,'10000679','ΕΤ3022','740',
'Cut m 012,700X0,80X20000 4%HBO XE09-12 R',0,12.7,20000) Calc
on Perf.id=Calc.Id
everything runs great. but when i execute
SELECT Perf.ID,Perf.WCID,Perf.Material_Group,Perf.MRP_Controller,Perf.Description,Perf.Component_Flag,
Perf.D,Perf.Length,calc.type
FROM PERF_Performance Perf
Left Outer Join dbo.perf_calc(Perf.ID,Perf.WCID,Perf.Material_Group,Perf.MRP_Controller,
Perf.Description,Perf.Component_Flag,Perf.D,Perf.Length) Calc
on Perf.id=Calc.Id
I get these erros.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.ID" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.WCID" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.Material_Group" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.MRP_Controller" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.Description" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.Component_Flag" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.D" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "Perf.Length" could not be bound.
Can someone help me..?