logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


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

Notification

Icon
Error

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

Rank: Newbie

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

Hi,

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.

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

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 205 time(s) in 198 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.