Re: [INTERFACES] About the char16 and char(16);

From: "Jose' Soares Da Silva" <sferac(at)proxy(dot)bazzanese(dot)com>
To: Christopher Luk <wluk(at)hkcccc(dot)org>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] About the char16 and char(16);
Date: 1998-03-25 15:31:55
Message-ID: Pine.LNX.3.96.980325152729.3057E-100000@proxy.bazzanese.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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'

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Patrick Scott Pierce 1998-03-25 23:40:34 Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC
Previous Message Constantin Teodorescu 1998-03-25 10:55:02 Re: [INTERFACES] Re: pgaccess "exec" queries