package WebGUI::i18n::English::Asset_SQLReport; our $I18N = { '11' => { message => q|Debug: Error: There was a problem with the query.|, lastUpdated => 1031514049 }, '71' => { message => q|SQL Reports are perhaps the most powerful wobject in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.
Nested query support
The SQL Report wobject supports up to 5 nested queries (1 base query and 4 subqueries). Each subsequent query is executed for each row in the previous query results. For example, if you have two queries: query1 and query2, then query2 will be executed once for each row returned in query1. You can use placeholder parameters to compose subqueries with data from prior queries.
SQL Reports are Wobjects and Assets, so they share the properties of both. SQL Reports also have these unique properties:
|, lastUpdated => 1119841674, }, '72 description' => { message => q|Select a template to display the results of your SQL Report.
|, lastUpdated => 1119841649, }, '16 description' => { message => q|If you want to display debugging and error messages on the page, check this box.
|,
lastUpdated => 1119841649,
},
'Placeholder Parameters description' => {
message => q|Placeholders, also called parameter markers, are used to indicate values in a SQL query that will be supplied later, before the statement is executed.
Placeholder Parameters are delimited a new line.
There are four input types:
Example:
Query: select * from some_table where some_field = ? and some_other_field < ?In this example the first question mark will contain the field value of pageId in query1, while the second question mark will contain the form variable "field1".
Placeholder Parameters: query1:pageId
form:field1
|, lastUpdated => 1119841649, }, '15 description' => { message => q|If you're using WebGUI macros in your query you'll want to check this box.
|,
lastUpdated => 1119841649,
},
'4 description' => {
message => q|This is a standard SQL query. If you are unfamiliar with SQL then you'll likely not want to use this wobject.
A question mark ? in the query represents a placeholder. Note that the ? is not enclosed in quotation marks, even when the placeholder represents a string. |,
lastUpdated => 1119841649,
},
'14 description' => {
message => q|How many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?
|, lastUpdated => 1119841649, }, '61' => { message => q|SQL Report, Add/Edit|, lastUpdated => 1082365503 }, '17' => { message => q|Debug: Query:|, lastUpdated => 1031514049 }, 'debug placeholder parameters' => { message => q|Debug: Processed Placeholder parameters:|, lastUpdated => 1031514049 }, '12' => { message => q|Debug: Error: Could not connect to the database.|, lastUpdated => 1031514049 }, '15' => { message => q|Preprocess macros on query?|, lastUpdated => 1031514049 }, '14' => { message => q|Paginate After|, lastUpdated => 1031514049 }, '8' => { message => q|Edit SQL Report|, lastUpdated => 1031514049 }, 'assetName' => { message => q|SQL Report|, lastUpdated => 1128834150 }, '4' => { message => q|Query|, lastUpdated => 1031514049 }, '18' => { message => q|There were no results for this query.|, lastUpdated => 1031514049 }, '72' => { message => q|SQL Report Template|, lastUpdated => 1082371148 }, '73' => { message => q|The following variables are made available in SQL Reports:
columns_loop
A loop containing information about each column.
column.numberrows.count
An integer starting with 1 and counting through the number of columns.
column.name
The name of this column as returned by the query.
row.numberhasNest
An integer starting with 1 and counting through the total list of rows.
row.field.NAME.value
The data for a given field in this row where NAME is the name of the field as it is returned by the query.
row.field_loop
A loop containing all of the fields for this row.
field.number
An integer starting with 1 and counting through the number of fields in this row. This is the same as column.number in the column_loop.
field.name
The name of the field as it is returned by the query.
field.value
The data in this field.
column.numberqueryN.rows.count
An integer starting with 1 and counting through the number of columns.
column.name
The name of this column as returned by the query.
queryN.row.numberqueryN.hasNest
An integer starting with 1 and counting through the total list of rows.
queryN.row.field.NAME.value
The data for a given field in this row where NAME is the name of the field as it is returned by the query.
queryN.row.field_loop
A loop containing all of the fields for this row.
field.number
An integer starting with 1 and counting through the number of fields in this row. This is the same as column.number in the column_loop.
field.name
The name of the field as it is returned by the query.
field.value
The data in this field.