Re: Print line?

Поиск
Список
Период
Сортировка
От Ian Barwick
Тема Re: Print line?
Дата
Msg-id 200210231538.36962.barwick@gmx.net
обсуждение исходный текст
Ответ на Print line?  (markus.cl@gmx.de (Markus Dehmann))
Список pgsql-admin
On Tuesday 22 October 2002 19:46, Markus Dehmann wrote:
> Hi,
>
> is there an SQL command that just prints a line? I want to do sth like:
>
> -- SQL query
> print "Now displaying cities...";
> SELECT * from cities;

By definition SQL doesn't have any output formatting
functions; those are provided by individual client
applications.

In psql you can use \echo to print a line to standard
output. \? shows other available options.

Ian Barwick
barwick@gmx.net



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: newbie psql - Backup/Restore - database
Следующее
От: juerg.rietmann@pup.ch
Дата:
Сообщение: pg_dump from within a sql statement