Re: Calling function from VFP changes character field to Memo
| От | Frank Cazabon |
|---|---|
| Тема | Re: Calling function from VFP changes character field to Memo |
| Дата | |
| Msg-id | 5d995cf0-1692-412a-8a9b-3a946819f0d5@gmail.com обсуждение исходный текст |
| Ответ на | Re: Calling function from VFP changes character field to Memo (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Список | pgsql-general |
On 15/11/2022 2:48 pm, Adrian Klaver wrote: > On 11/15/22 10:43 AM, Frank Cazabon wrote: > > Please reply to list als. > Ccing list Sorry about that, first time using this list and just assumed I was replying to the list and the list would then notify you > >>>> SELECT * FROM public.testFunction(); >>> >>> SELECT firstname from FROM public.testFunction(); >> This has the same result. > > How about?: > > SELECT firstname::varchar(30) from FROM public.testFunction(); That does work, thanks, but it may cause me some logic problems in the rest of the code. I'll try the type suggestion from Tom and see if that works and then decide which is my best approach. Thanks > >>> >>>> >>>> Then FirstName returns as a Memo field (similar to a Text field). >>>> >>>> Any idea what I need to do to get it to return the character(30) type? >>>> >>> >>> > >
В списке pgsql-general по дате отправления: