valentin tihomirov


I wanted to have something like

SELECT * FROM refs1 WHERE (EXEC ref_id) = this.id

Should I turn the SP into a function




Re: EXEC in WHERE clause

Arnie Rowland


A function 'might' work -depending on the sode in the stored procedure.