column "id" is of type integer but expression is of type character
В списке pgsql-general по дате отправления:
| От | Andrus |
|---|---|
| Тема | column "id" is of type integer but expression is of type character |
| Дата | |
| Msg-id | 550FA46EDB07485183DEF8FAB1CC998C@andrusnotebook обсуждение исходный текст |
| Ответы |
Re: column "id" is of type integer but expression is of
type character
Re: column "id" is of type integer but expression is of type character Re: column "id" is of type integer but expression is of type character |
| Список | pgsql-general |
Commands: create temp table test ( id int, baas char(10) ); create temp table lisa ( id int, baas char(10) ); alter table lisa drop column id; INSERT INTO test SELECT * FROM lisa; drop table lisa; Cause error ERROR: column "id" is of type integer but expression is of type character HINT: You will need to rewrite or cast the expression. ********** Error ********** ERROR: column "id" is of type integer but expression is of type character SQL state: 42804 Hint: You will need to rewrite or cast the expression. How to fix ? Andrus.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера