Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Thursday, September 27, 2018 5:23:20 AM(UTC)

Rank: Newbie

Groups: Registered
Joined: 9/27/2018(UTC)
Posts: 0
Location: England


Is there a way to always get a regular 'select' statement when creating a report instead of getting a 'select distinct'? I know that the select statement can be edited to remove the 'distinct' clause, but since my users would very seldom use this clause, I would prefer to default the select statement to be a regular select.

#2 Posted : Thursday, September 27, 2018 9:48:47 AM(UTC)

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 906

Thanks: 14 times
Was thanked: 150 time(s) in 144 post(s)
Yes, the default is select distinct, there is no flag or simple option to disable this (could be a feature request),
you have to edit the SELECT SQL Statement in your MODEL and remove the DISTINCT.

However you can change the default behavior by modifying the 'Init Script' at server level.

Check https://sealreport.org/f...t.aspx?g=posts&t=384
Users browsing this topic
Similar Topics
Default Select Statement (General Discussions/Other)
by Ott 7/11/2017 2:04:14 PM(UTC)
UNION of two SELECT Statements (Reports)
by siobhan 6/6/2014 8:39:05 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.