full join in view

Поиск
Список
Период
Сортировка
От Tambet Matiisen
Тема full join in view
Дата
Msg-id 81132473206F3A46A72BD6116E1A06AE1B14BC@black.aprote.com
обсуждение исходный текст
Ответы Re: full join in view  (Tomasz Myrta <jasiek@klaster.net>)
Список pgsql-sql
I'm making a report in Crystal Reports, which makes use of full join. As Crystal Reports does not support full join
natively,I created a view which contains the join and based my report on that view. The report has also a parameter to
filteronly subset of rows from view. My problem is, that when selecting from this view, optimizer never uses indexes of
neitherof two tables.  

I understand, that optimizing the filter to the bottom of query tree may not always give the same result with full join
(althoughit should in my case). Alternative could be to use function returning a table, but I doubt I could use this
functionfrom Crystal Reports. What other options I have?  
 Tambet


В списке pgsql-sql по дате отправления:

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: Re: SQL list table names
Следующее
От: Tomasz Myrta
Дата:
Сообщение: Re: full join in view