| От | Andreas Kretschmer |
|---|---|
| Тема | Re: How to obtain the max length of a varchar(50) field. |
| Дата | |
| Msg-id | 20110505090339.GA16334@tux обсуждение исходный текст |
| Ответ на | How to obtain the max length of a varchar(50) field. (Mauro Ziliani <mauro@faresoftware.it>) |
| Ответы |
Re: How to obtain the max length of a varchar(50) field.
|
| Список | pgsql-novice |
Mauro Ziliani <mauro@faresoftware.it> wrote: > Hi all. > I'm working with Postgres 9.0 and wxWidgets. > I need to query the db about a field of a table. > > The table T has a field varchar(50). > > table: TAB0 > customer: varchar(50) > > How can I get the max size of the field? select max(length(customer)) from tab0; Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера