[Dbix-class] Character set help, correction
Frank Speiser
frank at takkle.com
Tue Jul 31 21:50:08 GMT 2007
Correction
Frank Speiser wrote:
> You can pervert this type of thing to see what's there:
>
> my $columns = $freetds_dbh->selectall_hashref("EXEC sp_columns
> $table", 'COLUMN_NAME');
> foreach my $column (sort { $columns->{$a}{ORDINAL_POSITION} <=>
> $columns->{$b}{ORDINAL_POSITION} } keys %{$columns}) {
> print "$columns->{$column}{COLUMN_NAME}";
> }
>
> Do some looking around. Are all the columns there?
> If you don't see what you expect in terms of columns to access the
> column's value at some later point, then the problem might ---- NOT
> ---- be in DBIC.
>
--
Frank Speiser
CTO
TAKKLE, Inc.
212.792.5854 (work)
212.792.5859 (fax)
frank at takkle.com
More information about the Dbix-class
mailing list