in reply to Perl DBI and NULL vales from MSSQL
while (my $row = $sth->fetchrow_arrayref) { foreach my $field (@$row) { $field = '(NULL)' unless defined($field); } ... (the rest of your code) ... } [download]