<s>
SQR	B-Application
(	O
Hyperion	O
SQR	B-Application
Production	O
Reporting	O
,	O
Part	O
of	O
OBIEE	O
)	O
is	O
a	O
programming	O
language	O
designed	O
for	O
generating	O
reports	O
from	O
database	O
management	O
systems	O
.	O
</s>
<s>
The	O
name	O
is	O
an	O
abbreviation	O
of	O
Structured	O
Query	O
Reporter	O
,	O
which	O
suggests	O
its	O
relationship	O
to	O
SQL	B-Language
(	O
Structured	B-Language
Query	I-Language
Language	I-Language
)	O
.	O
</s>
<s>
Any	O
SQL	B-Language
statement	O
can	O
be	O
embedded	O
in	O
an	O
SQR	B-Application
program	O
.	O
</s>
<s>
In	O
the	O
early	O
80	O
's	O
SQR	B-Application
was	O
a	O
'	O
free	O
 '	O
add-on	O
to	O
Gupta	O
's	O
SQLBase	O
.	O
</s>
<s>
At	O
the	O
time	O
SQLBase	O
was	O
the	O
only	O
relational	B-Application
database	I-Application
that	O
ran	O
on	O
IBM	O
PCs	O
(	O
x86	B-Operating_System
)	O
machines	O
.	O
</s>
<s>
SQR	B-Application
was	O
written	O
by	O
Israel	O
Stern	O
in	O
Cleveland	O
,	O
Ohio	O
,	O
probably	O
around	O
1984	O
or	O
1985	O
.	O
</s>
<s>
SQ	O
Software	O
created	O
SQR	B-Application
in	O
the	O
mid	O
1980s	O
.	O
</s>
<s>
It	O
had	O
a	O
marketing	O
agreement	O
with	O
D	O
&	O
N	O
Systems	O
,	O
which	O
changed	O
its	O
name	O
to	O
SQL	B-Language
Solutions	O
and	O
was	O
later	O
acquired	O
by	O
Sybase	B-Application
Inc	O
in	O
the	O
early	O
1990s	O
.	O
</s>
<s>
To	O
avoid	O
competing	O
directly	O
with	O
Oracle	B-Application
Corporation	I-Application
,	O
Sybase	B-Application
had	O
a	O
marketing	O
and	O
development	O
agreement	O
with	O
MITI	O
for	O
the	O
Oracle	B-Application
database	O
compatible	O
versions	O
of	O
SQR	B-Application
.	O
</s>
<s>
MITI	O
acquired	O
the	O
full	O
rights	O
to	O
SQR	B-Application
in	O
the	O
mid-1990s	O
.	O
</s>
<s>
Oracle	B-Application
Corporation	I-Application
acquired	O
PeopleSoft	O
in	O
December	O
,	O
2004	O
.	O
</s>
<s>
In	O
March	O
2007	O
,	O
Oracle	B-Application
Corporation	I-Application
acquired	O
Hyperion	O
Solutions	O
.	O
</s>
<s>
ORACLE	B-Application
:	O
Hyperion	O
SQR	B-Application
Production	O
Reporting	O
-	O
System	O
9	O
(	O
Release	O
9.3.1	O
,	O
2008	O
)	O
;	O
</s>
<s>
ORACLE	B-Application
:	O
Hyperion	O
SQR	B-Application
Production	O
Reporting	O
-	O
System	O
11	O
(	O
Release	O
11.1.2	O
,	O
2010	O
)	O
;	O
</s>
<s>
SQR	B-Application
is	O
notable	O
for	O
its	O
database	O
and	O
printing	O
functions	O
.	O
</s>
<s>
It	O
can	O
embed	O
any	O
SQL	B-Language
statement	O
almost	O
anywhere	O
in	O
a	O
program	O
.	O
</s>
<s>
One	O
configuration	O
of	O
SQR	B-Application
can	O
access	O
multidimensional	O
databases	O
such	O
as	O
Essbase	B-Application
.	O
</s>
<s>
SQR	B-Application
contains	O
a	O
graph	O
generation	O
command	O
that	O
offers	O
dozens	O
of	O
parameters	O
for	O
adjusting	O
content	O
and	O
appearance	O
.	O
</s>
<s>
SQR	B-Application
has	O
four	O
scalar	O
data	O
types	O
.	O
</s>
<s>
The	O
first	O
three	O
are	O
numeric	B-Algorithm
(	O
variables	O
begin	O
with	O
“	O
#	O
”	O
)	O
,	O
character	O
string	O
(	O
variables	O
begin	O
with	O
“	O
$	O
”	O
)	O
,	O
and	O
date	O
(	O
variables	O
begin	O
with	O
“	O
$	O
”	O
,	O
same	O
as	O
with	O
character	O
string	O
variables	O
.	O
)	O
.	O
</s>
<s>
Numeric	B-Algorithm
variables	O
may	O
be	O
of	O
more	O
specific	O
types	O
:	O
integer	O
,	O
floating	B-Algorithm
point	I-Algorithm
,...	O
)	O
.	O
</s>
<s>
Database	B-Application
column	I-Application
variables	O
begin	O
with	O
“	O
&	O
”	O
.	O
</s>
<s>
The	O
values	O
of	O
database	B-Application
columns	I-Application
are	O
set	O
only	O
by	O
a	O
SQL	B-Language
“	O
select	O
”	O
statement	O
;	O
no	O
other	O
command	O
can	O
change	O
their	O
values	O
.	O
</s>
<s>
SQR	B-Application
has	O
an	O
array	B-Data_Structure
data	I-Data_Structure
structure	I-Data_Structure
.	O
</s>
<s>
Each	O
field	O
may	O
have	O
multiple	O
occurrences	O
,	O
giving	O
SQR	B-Application
the	O
equivalent	O
of	O
two-dimensional	O
arrays	O
.	O
</s>
<s>
SQR	B-Application
has	O
commands	O
that	O
manipulate	O
multiple	O
items	O
within	O
a	O
single	O
array	O
.	O
</s>
<s>
SQR	B-Application
has	O
four	O
control	O
structures	O
.	O
</s>
<s>
The	O
fourth	O
is	O
the	O
embedded	O
SQL	B-Language
“	O
select	O
”	O
statement	O
,	O
which	O
allows	O
SQR	B-Application
statements	O
to	O
be	O
executed	O
for	O
each	O
row	O
of	O
data	O
in	O
a	O
loop	O
.	O
</s>
<s>
SQR	B-Application
has	O
commands	O
to	O
open	O
,	O
read	O
,	O
write	O
,	O
append	O
,	O
and	O
close	O
computer	B-Operating_System
files	I-Operating_System
.	O
</s>
<s>
File	O
input	O
and	O
output	O
is	O
sequential	O
and	O
record-oriented	O
only	O
;	O
random	B-General_Concept
access	I-General_Concept
is	O
not	O
supported	O
.	O
</s>
