Views:
create view EMP as
select e.EmployeeID, e.FirstName from Employees e
Functions:
CREATE FUNCTION dbo.EMP2() RETURNS TABLE as
RETURN (select e.EmployeeID, e.FirstName from Employees e)
Usage:
select * from EMP
select * from dbo.EMP2()
Is there any reason i should use one over the other? views just seem easier to use.