Subject | Re: [firebird-support] Error defining a Firebird view in VFP |
---|---|
Author | Norman Dunbar |
Post date | 2011-02-23T07:44:35Z |
Morning Jim,
order by as desired?
Create view myview .....;
...
Select <stuff> from myview
order by <desired_column>;
Oracle, FYI, doesn't allow views to be created with a variable order by
either.
Cheers,
Norman.
--
Norman Dunbar
Dunbar IT Consultants Ltd
Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL
Company Number: 05132767
> ...Create the view without the order by, and select from it and specify an
> How can I create the view so that the ORDER BY clause is variable?
order by as desired?
Create view myview .....;
...
Select <stuff> from myview
order by <desired_column>;
Oracle, FYI, doesn't allow views to be created with a variable order by
either.
Cheers,
Norman.
--
Norman Dunbar
Dunbar IT Consultants Ltd
Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL
Company Number: 05132767