select ProductID, Name, ProductNumber, Size, Weight from Product
where Size is not null and Weight is not null order by Name
;
SELECT 'Last_query_cost' AS [Variable_name], dbo.ufnGetQueryCost('select ProductID, Name, ProductNumber, Size, Weight from Product
where Size is not null and Weight is not null order by Name') AS [Value];