in reply to Re^2: My doubts about using fetchall_arrayref
in thread My doubts about using fetchall_arrayref
I am sure you can't use 'the date' as a column name in sybase (which I think is what you are using). Try:
my @columns = qw( id account_number the_date); my $sql = "select id, account_number, CONVERT(VARCHAR(10),date,101) as + the_date from my_table where id <> '' order by date desc";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: My doubts about using fetchall_arrayref
by mpeppler (Vicar) on Apr 03, 2013 at 04:55 UTC | |
by CountOrlok (Friar) on Apr 03, 2013 at 05:16 UTC | |
Re^4: My doubts about using fetchall_arrayref
by Anonymous Monk on Apr 02, 2013 at 15:02 UTC | |
by hdb (Monsignor) on Apr 02, 2013 at 15:13 UTC | |
by Anonymous Monk on Apr 02, 2013 at 15:44 UTC | |
by CountOrlok (Friar) on Apr 02, 2013 at 16:13 UTC |
In Section
Seekers of Perl Wisdom