- SQR
SQR is a
programming language designed for generating reports from database management systems. The name is an acronym of Structured Query Reporter, which suggests its relationship toSQL (Structured Query Language). Any SQL statement can be embedded in an SQR program.History
SQ Software created SQR in the mid 1980s. It had a marketing agreement with D & N Systems, which changed its name to SQL Solutions and was later acquired by
Sybase Inc. Sybase purchased SQ Software in the early 1990s. To avoid competing directly withOracle Corporation ,Sybase had a marketing and development agreement with MITI for the Oracle database versions of SQR. MITI acquired the full rights to SQR in the mid 1990s. MITI changed its name to SQRiBE Technologies in 1997.Brio Technology acquired SQRiBE in August, 1999.Brio Technology later changed its name to Brio Software. Brio licensed the compiler source code toPeopleSoft Inc. sometime around 2000.Hyperion Solutions Corporation acquired Brio Software in October, 2003.Oracle Corporation acquiredPeopleSoft in December, 2004. And as of March 2007Oracle Corporation has acquiredHyperion Solutions .SQR-Related Products
* ORACLE: Hyperion SQR Production Reporting - System 9 (Release 9.3.1, 2008);
* ORACLE: PeopleSoft Enterprise Tools & Technology (PeopleTools, Release 8.49, 2008)General Components
#SQR Server
#SQR Viewer
#SQR Print
#SQR Execute
#SQR Workbench for Windows; SQR DeveloperFeatures
SQR is notable for its powerful
database and printing functions. It can embed anySQL statement almost anywhere in a program. There is a version of SQR that can usemultidimensional database s likeEssbase . It can combinedatabase reads with print instructions. It flexibly formats data breaks and page breaks. It prints variable fonts, sizes, and colors. It has a graph generation command that offers dozens of parameters for adjusting content and appearance.Syntax
SQR has four scalar
data type s. The first three are numeric (variable s begin with “#”), character string (variable s begin with “$”), and date (variable s begin with “$”, same as with character stringvariable s.). Datevariable s must be declared, to be distinguished from character stringvariable s. There is the option to declare numericvariable s to specify them more precisely (integer ,floating point , etc.). The last data type is adatabase column (variable s begin with “&”). The values ofdatabase columns are set only by a SQL “select” statement; no other command can change their values.SQR has
array s of like those of the C programming language orCOBOL . Anarray has one or more fields, each field is either a numeric, string, or datevariable . Each field may have multiple occurrences, giving SQR the equivalent of two-dimensionalarray s. SQR has special commands that manipulate multiple items within a singlearray . There are also many commands that cannot use anarray element in place of a scalarvariable .SQR has four
control structures . The first three are if-else-end, while-end, and evaluate (like case or switch). The fourth is the embeddedSQL “select” statement, which allows SQR statements to be executed for each row of data in a loop.SQR has commands to open, read, write, append, and close
computer file s. File input and output is sequential and record-oriented only;random access is not supported.ee also
*
Oracle Reports
*Actuate
*Crystal Reports External links
* [http://www.peoplesoftexpert.com/mediawiki/index.php/SQR Sqr Functions and Commands]
Wikimedia Foundation. 2010.