[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Distinct in SQR
- Subject: [sqr-users] Distinct in SQR
- From: "Hall, Tara" <hallt@talgov.com>
- Date: Mon, 24 Sep 2007 13:38:08 -0400
- Delivery-date: Mon, 24 Sep 2007 13:41:00 -0400
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: Acf+0aumEAY1ZdNpSpuaICXDNeSKZg==
- Thread-topic: Distinct in SQR
Hi All,
I'm using the following code in an SQR but it is still not returning distinct
rows. If I used the same code in TOAD, it returns distinct rows of data:
BEGIN-SELECT DISTINCT
D.ROLEUSER (+1, 15)
F.OPRDEFNDESC
D.ROLENAME (0, 60)
E.CLASSID (0, 100)
F.ACCTLOCK
LET #MYOBJNAME = 1
FROM PSROLEUSER D, PSROLECLASS E, PSOPRDEFN F
WHERE D.ROLENAME = E.ROLENAME
AND E.CLASSID = 'PSADMIN'
AND D.ROLEUSER = F.OPRID
AND F.ACCTLOCK = 0
ORDER BY 1
end-select
Any suggestions?
Thanks,
Tara
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users