diference between calling a function in select clause and from clause

Поиск
Список
Период
Сортировка
От siva kiran balijepalli
Тема diference between calling a function in select clause and from clause
Дата
Msg-id AANLkTikaXP1j33_zQeyr0ES3yS71EAEe+ayQexqsncjN@mail.gmail.com
обсуждение исходный текст
Ответы Re: diference between calling a function in select clause and from clause  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi every body
 
               What i sthe difference between these two sql statements?
 
select * from function-name();
select function-name();
 
The outputs of these will be same but when should we use particular one.
 
please reply
 
 
regards
sivakiran.B

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: syntax error on WHERE clause...
Следующее
От: "Haris"
Дата:
Сообщение: foreign key