Main > Programming > Libraries >

DBIx::SQLCrosstab 1.17

DBIx::SQLCrosstab 1.17

Sponsored Links

DBIx::SQLCrosstab 1.17 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.071 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1232
Date added: 2006-06-09
Publisher: Giuseppe Maxia

DBIx::SQLCrosstab 1.17 description

DBIx::SQLCrosstab Perl module creates a server-side cross tabulation from a database.

SYNOPSIS

use DBIx::SQLCrosstab;
my $dbh=DBI->connect("dbi:driver:database"
"user","password", {RaiseError=>1})
or die "error in connection $DBI::errstrn";

my $params = {
dbh => $dbh,
op => [ [SUM, salary] ],
from => person INNER JOIN departments USING (dept_id),
rows => [
{ col => country},
],
cols => [
{
id => dept,
value =>department,
from =>departments
},
{
id => gender, from => person
}
]
};
my $xtab = DBIx::SQLCrosstab->new($params)
or die "error in creation ($DBIx::SQLCrosstab::errstr)n";

my $query = $xtab->get_query("#")
or die "error in query building $DBIx::SQLCrosstab::errstrn";

# use the query or let the module do the dirty job for you
my $recs = $xtab->get_recs
or die "error in execution $DBIx::SQLCrosstab::errstrn";

# do something with records, or use the child class
# DBIx::SQLCrosstab::Format to produce well
# formatted HTML or XML output
#

my $xtab = DBIx::SQLCrosstab::Format->new($params)
or die "error in creation ($DBIx::SQLCrosstab::errstr)n";
if ($xtab->get_query and $xtab->get_recs) {
print $xtab->as_html;
my $xml_data = $xtab->as_xml;
}

DBIx::SQLCrosstab produces a SQL query to interrogate a database and generate a cross-tabulation report. The amount of parameters needed to achieve the result is kept to a minimum. You need to indicate which columns and rows to cross and from which table(s) they should be taken.

Acting on your info, DBIx::SQLCrosstab creates an appropriate query to get the desired result. Compared to spreadsheet based cross-tabulations, DBIx::SQLCrosstab has two distinct advantages, i.e. it keeps the query in the database work space, fully exploiting the engine capabilities, and does not limit the data extraction to one table.

DBIx::SQLCrosstab 1.17 Screenshot

Advertisements

DBIx::SQLCrosstab 1.17 Keywords

Bookmark DBIx::SQLCrosstab 1.17

Hyperlink code:
Link for forum:

DBIx::SQLCrosstab 1.17 Copyright

WareSeeker periodically updates pricing and software information of DBIx::SQLCrosstab 1.17 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of DBIx::SQLCrosstab 1.17 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab. Free Download
DBIx::SQL::Abstract is a Perl module that provides a convenient abstraction layer to a database. Free Download
DBIx::CGITables is a Perl module for easy DB access from a CGI. Free Download
DBIx::XHTML_Table is Perl module for SQL query result set to XML-based HTML table. Free Download
DBIx::Frame is a Perl module for creating and maintaining DBI frameworks. Free Download
DBIx::DBStag is a Perl module for Relational Database to Hierarchical (Stag/XML) Mapping. Free Download
DBIx::XMLMessage is a Perl module for XML Message exchange between DBI data sources. Free Download
DBIx::Password provides an abstraction layer for password maintenance. Free Download