| От | Ewald Geschwinde |
|---|---|
| Тема | Re: sequences what does ::text mean ? |
| Дата | |
| Msg-id | 3D22CC5E.4060409@geschwinde.net обсуждение исходный текст |
| Ответ на | sequences what does ::text mean ? (Henk Schets <henk@poppunt.be>) |
| Ответы |
Re: sequences what does ::text mean ?
Re: sequences what does ::text mean ? |
| Список | pgsql-novice |
Henk Schets wrote:
>Hi,
>
>In a table I have as a default value nextval('seq_auteurs'). What's the difference with nextval('seq_auteurs'::text)
?
>
>Henk
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
>
>
>
The difference ist nextval('seq_autheurs') you get an integer back and
with the second one it casts the integer to text and returns a text value
Ewald
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера