sto ottenendo questo errore:<funzione con valori di tabella> non è un riconosciuto built-in nome della funzione
Msg 195, Level 15, State 10, Line 1
'fnParseName' is not a recognized built-in function name.
In questa query:
SELECT fnParseName(DOCTORFIRSTNAME+' ' +DOCTORLASTNAME)
FROM [PracticeandPhysician]
Ecco il codice per fnParseName
create FUNCTION [dbo].[fnParseName]
(@FullName NVARCHAR(128))
RETURNS @FullNameParts TABLE (FirstName NVARCHAR(128),
Middle NVARCHAR(128),
LastName NVARCHAR(128))
AS
BEGIN
... function body that populates @FullNameParts ...
RETURN
END
Perché viene visualizzato questo errore?
si tratta di una tabella di funzione con valori se questo aiuta –