Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,135 of 2,288    |
|    SOLSPEAKS to tkestell    |
|    Re: Views and Stored Procedures    |
|    21 Feb 04 16:13:27    |
      From: solspeaks@aol.com              If by stored procedure you mean a database function, the answer is yes. You       can simply use the value returned by the function as a column in your view.              For example,        If you had a function named ACTION1 that took a single parameter, could       create a view as follows:              create view test1 as select ename,action1(enum) action_enu m from employee;              The only caveat is that the function must not change the state of the       database. (The only DML it may perform is a SELECT. No UPDATES,DELETES, or       INSERTS).                     "tkestell" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca