Solved

what this error mean

Posted on 2009-05-07
3
375 Views
Last Modified: 2012-05-06
what is this error mean DBD::PgPP::st execute failed: Wrong number of bound parameters at ...
0
Comment
Question by:tankergoblin
  • 2
3 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Means that you passed the wrong number of items.
I.e. it seems as though you have prepared a dynamic query, but when executing you provided one item less than required.
That is just one possible explanation.
Post the query, and the solution might be obvious.

0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
what does it mean by wrong number of items...
i want to read file content to database
is that mean the column field name is not match with the name in database?
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
You have not posted the query so it is hard to say.
No, it means that you have may have more columns, than values or the other way around.
(column1,column2) values (value1)
or
(column1,column2) values (value1,value2,value3)

Post the query and it might be clearer.

Alternatively, you may have values (value1,value2,value3), but the table into which the data is being inserted only has two columns.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Best database to use for Maps is PostgreSQL. This is an open source database. Comes as a package with most Linux OS. For more info visit the following site: http://www.postgresql.org/ (http://www.postgresql.org/) This requires some add-o…
Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now