
|
If you were logged in you would be able to see more operations.
|
|
|
| Planning Status: |
Unspecified
|
|
Simplified test case (to be executed with connection charset = UTF-8):
select
'Current time is ' || cast(a.t as varchar(15))
from
(select current_time t from rdb$database) a
group by
'Current time is ' || cast(a.t as varchar(15))
-- ERROR:
-- Invalid expression in the select list (not contained in either an aggregate function or the GROUP BY clause)
|
|
Description
|
Simplified test case (to be executed with connection charset = UTF-8):
select
'Current time is ' || cast(a.t as varchar(15))
from
(select current_time t from rdb$database) a
group by
'Current time is ' || cast(a.t as varchar(15))
-- ERROR:
-- Invalid expression in the select list (not contained in either an aggregate function or the GROUP BY clause)
|
Show » |
|
select
T.USER_NAME || iif ( count(*) > 1, ' *' || count(*), '' )
from (
select Trim(MON$USER) || ' (' || Trim(MON$REMOTE_ADDRESS) || iif ( MON$REMOTE_PROCESS is Null or Trim(MON$REMOTE_PROCESS) = '', '', ', ' || MON$REMOTE_PROCESS ) || ')' as USER_NAME
from MON$ATTACHMENTS
) as T
group by T.USER_NAME
order by 1
Connection charset UTF-8 or WIN-1251