Is it possible to call a stored procedure in a select statement
For example
SELECT Account_ID, Account_Number, Currency, (Exexute the stored procedure passing to it the Account_ID) AS Current_Amount FROM Accounts
I need to call this stored procedure that takes an Account ID and performs certain calculations and return an Amount, I want this Amount to be a column in the returned result of the Select Statement
How can I do something like this?
Start Free Trial