Re: Spacing in output

Поиск
Список
Период
Сортировка
От Jerome Lyles
Тема Re: Spacing in output
Дата
Msg-id 200409141321.48990.susemail@hawaii.rr.com
обсуждение исходный текст
Ответ на Re: Spacing in output  (Duane Lee - EGOVX <DLee@mail.maricopa.gov>)
Ответы Re: Spacing in output  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Tuesday 14 September 2004 11:15 am, you wrote:
> What is the field size of prod_name?  You could use SUBSTR(prod_name,1,xx)
> where xx is the max number of characters you want to see.
>
> Duane
fieldsize: 255.  I tried to use SUBSTR:

sql_tutorial=> SUBSTR(prod_name,1,45; SELECT prod_name FROM Products;
sql_tutorial(>
sql_tutorial(>
sql_tutorial(> SELECT prod_name FROM Products;
sql_tutorial(> SUBSTR(prod_name,1,45;

but I have the syntax wrong.  What does '(>' instead of '=>' mean?
Thanks,
Jerome

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

Предыдущее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: disk performance benchmarks
Следующее
От: Duane Lee - EGOVX
Дата:
Сообщение: Re: Spacing in output