Can user specification of a column value be required when querying a view ?

Поиск
Список
Период
Сортировка
От David Gauthier
Тема Can user specification of a column value be required when querying a view ?
Дата
Msg-id CAEs=6DmkV_hd+c9OVK4yCuedsrjO0_ZD6tnDRw5OdCC=eMh2vg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Can user specification of a column value be required when querying a view ?
Re: Can user specification of a column value be required when querying a view ?
Список pgsql-general
Hi:

I have a view that I want  to require user specification for a specific column before the query starts (if that makes sense).  

Example
I want the users to be required to provide a value for ssn in the following query... 
"select * from huge_view where ssn = '106-91-9930' "
I never want them to query the view without specifying ssn.
It has to do with resources and practicality.

Is there a way to do that ?
Thanks

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

Предыдущее
От: Nick DeCoursin
Дата:
Сообщение: Re: New addition to the merge sql standard
Следующее
От: Steve Baldwin
Дата:
Сообщение: Re: Can user specification of a column value be required when querying a view ?