We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: Aticom (aticom)
Duplicates CORE2291
When I run a SQL on version 2.1.1.17910, it's all OK
but, when I run the same SQL on version 2.1.2.18118, that gives me the error
internal gds software consistency check (cannot restore singleton select data (284), file: rse.cpp line: 3426)
The SQL - with sub-select - if it canhelp us
Select PED.OrdemCompra, PED.CodEmpresa, PED.NumPedido, PED.CodVendedor,
(select VEN2.NOMEFANTASIA from VENDEDOR VEN2 where PED.CODVENDEDOR = VEN2.CODVENDEDOR) as DESCVENDEDOR_PEDIDO
from Pedido PED where PED.Date between '01/01/2009' and '08/01/2009'
The text was updated successfully, but these errors were encountered:
Commented by: Sean Leyne (seanleyne)
The error is valid!
The sub-select could return multiple rows, which makes it use incorrect.
You would need to use:
(select FIRST 1 VEN2.NOMEFANTASIA from VENDEDOR VEN2 where ...
Sorry, something went wrong.
Commented by: @dyemanov
Duplicates CORE2291.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Duplicate [ 3 ]
Link: This issue duplicates CORE2291 [ CORE2291 ]
status: Resolved [ 5 ] => Closed [ 6 ]
QA Status: No test
No branches or pull requests
Submitted by: Aticom (aticom)
Duplicates CORE2291
When I run a SQL on version 2.1.1.17910, it's all OK
but, when I run the same SQL on version 2.1.2.18118, that gives me the error
internal gds software consistency check (cannot restore singleton select data (284), file: rse.cpp line: 3426)
The SQL - with sub-select - if it canhelp us
Select
PED.OrdemCompra,
PED.CodEmpresa,
PED.NumPedido,
PED.CodVendedor,
(select VEN2.NOMEFANTASIA from VENDEDOR VEN2
where PED.CODVENDEDOR = VEN2.CODVENDEDOR) as DESCVENDEDOR_PEDIDO
from Pedido PED
where
PED.Date between '01/01/2009' and '08/01/2009'
The text was updated successfully, but these errors were encountered: