Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

tabular function in sql server

-- SELECT * FROM [dbo].[fn_GetData](1)  

CREATE FUNCTION  [dbo].[fn_GetData](      
@parameter1 INT    
) 
RETURNS TABLE   
AS  
RETURN  
SELECT Column1, Column2
FROM table_name
WHERE Column_Name = @parameter1

 
PREVIOUS NEXT
Tagged: #tabular #function #sql #server
ADD COMMENT
Topic
Name
2+5 =