in reply to Simple sql query problem

Have you tried running this directly against your database? From the DBD error you listed, it would appear that the error is coming back from MySQL rather than from perl.

Replies are listed 'Best First'.
Re^2: Simple sql query problem
by Anonymous Monk on Dec 01, 2007 at 15:48 UTC
    I agree, but have no clue what is wrong. In first example I select first all fields and then particular one, in second example I select that field right away, but I wonder why is this wrong....
      That's why I think that you'll have better luck by submitting your query directly to mysql rather than through perl. It's always a good idea to get as close to the error as you can when you run into something you don't understand.