var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Can a stored procedure be executed from within a select statement?
Can a stored procedure be executed from within a select statement?
Given a store procedure named: sp_proc
I wish to do something like this:
...but within a select statement. I know you can do this with stored functions, just not sure what the syntax is for a stored procedure.
For each row in the table
execute sp_proc 'parameter1', parameter2'...
No, not within a select statment. Well, maybe with OPENQUERY, but even if that did work I would never use it.
So convert it into a function...
Is there a question here?