Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group by needs UDF's name [CORE266] #598

Closed
firebird-automations opened this issue May 14, 2002 · 2 comments
Closed

group by needs UDF's name [CORE266] #598

firebird-automations opened this issue May 14, 2002 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: dec666 (dec666)

Assigned to: @ArnoBrinkman

SFID: 555839#⁠
Submitted By: dec666

With FB1.0 i get the following error message:
Dynamic SQL Error
SQL error code = -104
invalid column reference
Statement: select field1, f_function(field2) as name
from table
group by field1,field2

Query:
select field1, f_function(field2) as name
from table
group by field1,field2

Workaround is to have the group by as: group by
field1,f_function(field2)

The original query works with ib6 but the workaround
does not function with ib6.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10290 ] => Firebird [ 14526 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant