Re: ValueError: too many values to unpack
Rich Shepard <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Nov 2006, [email protected] wrote: > The other possibility is that you have more rows than the 5 you are > returning, that is why select * is bad, you should do a select model_desc, > model_type, keName, agent from tablename Greg, One row, five columns. But, you're correct that by specifying each column by name I avoid the mis-match I had. Thanks, Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc.(TM) | Accelerator <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863