Subject | Re: temporary tables |
---|---|
Author | Alexander V.Nevsky |
Post date | 2004-01-27T17:27:36Z |
--- In firebird-support@yahoogroups.com, "petdevis" <devis@i...>
wrote:
Select Some_Value
From Table1
Where ...
Union
Select Some_Value
From Table2
Where ...
Union
....
Select Some_Value
From Table1
Where ...
Order By 1
2. Using SP:
Select SomeValue From My_SP(...)
Order By SomeValue
Best regards,
Alexander.
wrote:
> I would like to sort some values inside the body of a storedsupport
> procedure.Those
> values are collected from differed tables . Does the Firebird
> Temporary tables (visible only inside the user's opened transaction)the
> (like
> oracle does)?
> If not , is there some data type (like array ) to use for sorting
> data1. Inside SP:
Select Some_Value
From Table1
Where ...
Union
Select Some_Value
From Table2
Where ...
Union
....
Select Some_Value
From Table1
Where ...
Order By 1
2. Using SP:
Select SomeValue From My_SP(...)
Order By SomeValue
Best regards,
Alexander.