| От | Eric Carpenter |
|---|---|
| Тема | Inserting values into numeric fields |
| Дата | |
| Msg-id | NHEMKPHJPKCCFEHFMEJIKECKCEAA.postgresql@slacker.to обсуждение исходный текст |
| Ответ на | Problem With A Rule (<cnliou@eurosport.com>) |
| Ответы |
Re: Inserting values into numeric fields
|
| Список | pgsql-sql |
Greetings all, I'm trying to insert values into a numeric field which may be optional. I'm using perl's DBI and bind parameters to do this. However, psotgresql complains that '' is not a numeric, since the DBI quotes everything before inserting.. I've tried inserting NULL as well, but that gets quoted and rejected as well. Is there any way to do this without hard coding "NULL" into the prepared statement handle? Thanks! Eric Carpenter
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера