I used function in the query clause. I wander if anybody used stored procedure as part of the query clause. Thanks, Davis
you can't use a stored procedure as part of a query clause... the only exception is insert into...exec Cheers Twan