Subject | Re: [firebird-support] View and stored procedure data |
---|---|
Author | Helen Borrie |
Post date | 2006-03-08T22:53:10Z |
At 03:50 AM 9/03/2006, you wrote:
the standard defines what a view is, including not being allowed to
process local variables.
the standard changes.
Focus on what you want in the output set and turn your thinking
around to "using a view in a stored procedure". You can't write
views that contain parameters, but you can write a stored procedure
with input parameters for any column (or all columns, if you want to!)
./heLen
>Hi,You can, but it has a lot of undesirable limitations, due to the way
>can i use a stored procedure in a view
>can i do it
>
>i remember that from interbase,
>i couldn't use stored procedure's data in a view
the standard defines what a view is, including not being allowed to
process local variables.
>if no, will it be in the next versions of firebird 2 or 3There won't be any change to the way views are defined until/unless
the standard changes.
Focus on what you want in the output set and turn your thinking
around to "using a view in a stored procedure". You can't write
views that contain parameters, but you can write a stored procedure
with input parameters for any column (or all columns, if you want to!)
./heLen