From: Bruno Wolff III <bruno@wolff.to>
To: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Print command equivalent in postgresql
Date: Wed, 24 Jan 2007 14:26:36 -0600
Message-ID: <20070124202636.GA19495@wolff.to> (raw)
In-Reply-To: <FE0C41EEBEF01C47BF3A91F606694468049735E5@PUNISHER.intra.infousa.com>
References: <FE0C41EEBEF01C47BF3A91F606694468049735E5@PUNISHER.intra.infousa.com>
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';
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, Nishith.Negandhi@infoUSA.com
Subject: Re: Print command equivalent in postgresql
In-Reply-To: <20070124202636.GA19495@wolff.to>
References: <FE0C41EEBEF01C47BF3A91F606694468049735E5@PUNISHER.intra.infousa.com> <20070124202636.GA19495@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox