Problems? Is your data what you think it is? | |
PerlMonks |
Perl DBI and NULL vales from MSSQLby Asheep (Initiate) |
on Apr 30, 2001 at 20:53 UTC ( [id://76648]=perlquestion: print w/replies, xml ) | Need Help?? |
Asheep has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm using FreeTDS to connect to MSSQL with great success, so far... But when I output a row that contains a field with a sql <NULL> value I get "Use of uninitialized value"..
Is it common to write a function to compare all each field fetched to a undef and replace the literal value with "NULL" or such.. Before you print out a value? Isn't this a waste to run a function on every fetch?
Hey monks, what is the better way?
Back to
Seekers of Perl Wisdom
|
|