Anjali-159814
SSC-Addicted
Points: 435
More actions
February 3, 2005 at 10:30 pm
#84693
Is this possible?
Select CategoryID, dbo.getNoOfItems(CategoryID) AS NoOfItems where ParentID = @ParentID and NoOfItems > 5
getNoOfItems is a udf which returns an int value after complex calculations.
Thanks in advance.
babuganesh2000
Hall of Fame
Points: 3123
February 4, 2005 at 12:21 am
#540611
Select CategoryID, dbo.getNoOfItems(CategoryID) AS NoOfItems where ParentID = @ParentID and dbo.getNoOfItems(CategoryID) > 5
I hope this would work.
Cheers,
Ganesh
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply