Search Postgresql Archives

Re: Calling function from VFP changes character field to Memo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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?










[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux