Print command equivalent in postgresql
Print command equivalent in postgresql
От:
"Negandhi, Nishith" <Nishith.Negandhi@infoUSA.com>
Дата:
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 <iannsp@gmail.com>
Дата:
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 <bruno@wolff.to>
Дата:
On Tue, Jan 23, 2007 at 10:47:13 -0600, "Negandhi, Nishith" 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';