Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

SQL Database Table to Perl Script

by prithviraj (Novice)
on Oct 05, 2012 at 04:05 UTC ( #997371=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                    
    TranID  Date        AccNum   Type    Amount ChequeNo DDNo  
    657520  02-07-1999  0181432  Debit   16000  465774     
    ...
    657541  11-07-1999  0181432  Debit   12000  
    657525  03-07-1999  0181432  Debit   15000           569999
    657533  05-07-1999  0181432  Credit  12500  
    
  2. or download this
    #!/usr/bin/perl
    use DBI;
    ...
     print "$rec\n";
    }
    $dbh->disconnect;
    
  3. or download this
    1) Query data from transaction table and calculate the total  balance 
    +in each account
    2) Query data from transaction table and calculate total amount debite
    +d by cheque, dd and by cash for each account.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://997371]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-10-24 21:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls