Multiple statement table valued function
• Similar to inline table valued function with few differences
• Return clause can contain the structure of the table
• Multiple statement table valued function has begin and end block
• Less performance than inline table valued function
-------------------------------------------------------------------------------------------
select * from empdetails
create function mstvf()
returns @table table(name1 varchar(20), grade1 varchar(10))
as
begin
insert into @table select name, grade from empdetails
return
end
select * from mstvf()
Nesta página do site você pode assistir ao vídeo on-line SQL Server Multiple statement table valued function. Session 31 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sunny@Pandita 14 Setembro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 132 vezes e gostou 6 espectadores. Boa visualização!