Re: [INTERFACES] About the char16 and char(16); - Mailing list pgsql-interfaces

From Jose' Soares Da Silva
Subject Re: [INTERFACES] About the char16 and char(16);
Date
Msg-id Pine.LNX.3.96.980325152729.3057E-100000@proxy.bazzanese.com
Whole thread Raw
In response to About the char16 and char(16);  (Christopher Luk <wluk@hkcccc.org>)
List pgsql-interfaces
On Wed, 25 Mar 1998, Christopher Luk wrote:

> hi,
> Can somebody tell me the difference in char16, char(16)?
> I found a .c program in the package of the v6.3 of postgres that can
> concat two char16 strings to one, is there any method that can easily
> concat two char(80) or char(30) to a string?

try using concatenation operator ||

SELECT string_of_80 || string_of_30 FROM mytable;
it works.
                                                         Jose'


pgsql-interfaces by date:

Previous
From: Constantin Teodorescu
Date:
Subject: Re: [INTERFACES] Re: pgaccess "exec" queries
Next
From: Patrick Scott Pierce
Date:
Subject: Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC