| От | Cornelia Boenigk |
|---|---|
| Тема | Re: Looking for help |
| Дата | |
| Msg-id | 004301c24e20$7d622820$7f54fea9@zwerg98 обсуждение |
| Ответ на | Looking for help (Joseph L Montes <jmontes@zenplex.com>) |
| Список | pgsql-php |
Hi Joseph > but What happens > if I only want to select a couple of fields. Then you tell the server which fields you want to select;-) SELECT field1, field2, ... , fieldn FROM table ... > how do you select from a table that is not all lower case what do you mean? what is not all lower case? PostgreSQL returns the contents of the fields as they are. If you need the results to be in lower case use SELECT lower(fieldx), lower(field2),... FROM table respectively SELECT upper(field1), upper(field2), ... FROM table. See chapter 4.4 of the PostgreSQL user's Guide for more. The PHP-Functions to change case are strtoupper() and strtolower(). Hope it helps Regards Conni
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера