Обсуждение: Print command equivalent in postgresql

Поиск
Список
Период
Сортировка

Print command equivalent in postgresql

От
"Negandhi, Nishith"
Дата:
Hi,
In SQL Server there is a PRINT command that returns a user-defined message to the client.  
What is the equivalent of this on postgresql .??
 
Regards
 

Re: Print command equivalent in postgresql

От
Iannsp
Дата:
Negandhi, Nishith escreveu:
> Hi,
> In SQL Server there is a PRINT command that returns a user-defined
> message to the client.
> What is the equivalent of this on postgresql .??
>
> Regards
>
I may use the raise notice if you are in stored procedure.


--
Ivo Nascimento
Iann tech - Desenvolvendo soluções com performance e segurança
http://www.ianntech.com.br


Re: Print command equivalent in postgresql

От
Bruno Wolff III
Дата:
On Tue, Jan 23, 2007 at 10:47:13 -0600,
  "Negandhi, Nishith" <Nishith.Negandhi@infoUSA.com> wrote:
> Hi,
> In SQL Server there is a PRINT command that returns a user-defined
> message to the client.
> What is the equivalent of this on postgresql .??

Can you explain more about what you are looking for?
If you just want to return a row with a string in it you can use:
SELECT 'Your string here';