DBIx::SQLCrosstab 1.17
Sponsored Links
DBIx::SQLCrosstab 1.17 Ranking & Summary
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.
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
DBIx::SQLCrosstab 1.17 Keywords
DBIx
SQLCrosstab
SQLCrosstab Perl
SQLCrosstab 1.17
error in
Perl module
Cross tabulation
query
database
module
error
creates
cross
DBIx::SQLCrosstab
DBIxSQLCrosstab
DBIx::SQLCrosstab 1.17
Bookmark DBIx::SQLCrosstab 1.17
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
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
missing query: error was logged
query builder
query string
query server
query letter
query language
sql query
dbix dwiw
what is a query
query george
cross tabulations
perl modules
query optimization
georgia department of corrections inmate query
queryperformancecounter
query tool
dbix class
georgia inmate query
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
Latest Software
Popular Software
Favourite Software