How to bind a null value while using insert statements

"Harpreet Dhaliwal" <[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
Hi,

I have the following insert statement

insert into abc (a,b,c) values (?,?,?);

when i execute this insert (in perl) i get the following error

Cannot bind a reference (ARRAY(0x925069c)) ((null))

This is because value of column a is defined but null
So how should in bind null value in my insert statement?

Thanks,
Harpreet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.