Re: how to get desired html format output?

Поиск
Список
Период
Сортировка
От Jayadevan M
Тема Re: how to get desired html format output?
Дата
Msg-id OFE4840DED.B31459F7-ON65257A55.0033B292-65257A55.0033EF42@ibsplc.com
обсуждение исходный текст
Ответ на how to get desired html format output?  (Anne Wainwright <anotheranne@fables.co.za>)
Ответы Re: how to get desired html format output?  (Anne Wainwright <anotheranne@fables.co.za>)
Список pgsql-novice
Hello,

> would this normally be done perhaps with a file that could be called by
> psql. This file with all the psql query commands/options and the html
> formatting code within?

1) Turn on the HTML output option -
newgendb=# \H
Output format is html.

2) Direct the output to a file

newgendb=# \o myfile.html

3) Execute the select

4) Turn off output
newgendb=# \o

Regards,
Jayadevan





DISCLAIMER:


"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."





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

Предыдущее
От: Anne Wainwright
Дата:
Сообщение: how to get desired html format output?
Следующее
От: Anne Wainwright
Дата:
Сообщение: Re: how to get desired html format output?