sanders has asked for the wisdom of the Perl Monks concerning the following question:
If anyone knows how to insert formatting into the bit below please let me know."column monthly_cost format 9999999999999.99"
Thanks# Pull the DB record for the service_number passed my $dbh = DBI->connect( "dbi:Oracle:$dbase", $user, $pass, { AutoCommit => 0, RaiseError => 1, PrintError => 0 }) or die $DBI::errstr; my $sth = $dbh->prepare( # sqlcode "select siteid, monthly_cost from comms.services where service_number = ?" ); $sth->execute($svce);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to format numbers pulled back from an Oracle DB using SQL.
by dmmiller2k (Chaplain) on Mar 18, 2002 at 04:57 UTC | |
|
Re: How to format numbers pulled back from an Oracle DB using SQL.
by rdfield (Priest) on Mar 18, 2002 at 10:36 UTC |