Re: Problems with varchar/text

Поиск
Список
Период
Сортировка
От Poul L. Christiansen
Тема Re: Problems with varchar/text
Дата
Msg-id 39AD0C61.FD0D21B7@miba.auc.dk
обсуждение исходный текст
Ответ на Problems with varchar/text  (FMK <meyer-kassel@online-shop-ag.de>)
Список pgsql-novice
Maybe you have forgot to quote the string.

Could you mail us the exact SQL that you use to insert the data.

Are you using ODBC? What OS/app is the client and server?

FMK wrote:

> Hi out there,
>
> I've got a table with a field named "blabla", type is varchar(12).
>
> Now I want to insert "00083151" into this field, but after the INSERT
> the leading zeros are cutted, eg. in the DB is only "83151"
>
> Same Problem with type text...
>
> Any Idea how I can get the _complete_ Value with the leading zeros
> into the DB ?
>
> Thanks in Advance !
>
> Florian


В списке pgsql-novice по дате отправления:

Предыдущее
От: Marco Colombo
Дата:
Сообщение: Re: Vacuum DB
Следующее
От: "Eric W. Brown"
Дата:
Сообщение: "Segmentation Fault" errors in libpq++ programs.