MySQL Forums
Forum List  »  Sybase

Re: Calling a stored procedure from select
Posted by: Tony Simon
Date: March 12, 2008 02:51PM

You should use a function instead of a stored procedure.

SELECT Account_ID, Account_Number, Currency, schema.FunctionName(Account_ID) AS Current_Amount FROM Accounts

Options: ReplyQuote


Subject
Views
Written By
Posted
33413
September 04, 2007 03:21AM
Re: Calling a stored procedure from select
24148
March 12, 2008 02:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.