create FUNCTION [dbo].[fun1] ( @ID int ) RETURNS TABLE AS RETURN ( declare @var int select @var =select columnName from dbo.fun2(@id) SELECT @var* columnName from table where table.id=@ID )
How can I do it?
Aucun commentaire:
Enregistrer un commentaire