Last updated on OCTOBER 27, 2016
Applies to:Oracle SQL Developer - Version 3.1 and later
Information in this document applies to any platform.
When querying a table via database link to DB2 database, the select is looping endless .
However, if you specify an "order by"-clause, then the query gives the correct output.
1. Select * from txdaten.fdbtab@db2_test; -- (without "order by" clause)
Result: The select is looping endless
2. Select * from txdaten.fdbtab@db2_test order by tbcode; -- (with "order by" clause)
Result: The output gives the correct number of rows .
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms