Error on SQL Query execution in Oracle Database in X# VO Project
Posted: Fri Sep 15, 2023 6:50 am
Error message : [microsoft][odbc driver for oracle]cannot use keyset-driven cursor on join, with distinct clause, union, intersect or minus or on read only result set
ODBC Used : Microsoft ODBC for Oracle 32 bit - MSORCL32.DLL (07/12/2019)
I've verified that connection to the server was successful
The below query is showing error
whereas these queries are working fine separately
ODBC Used : Microsoft ODBC for Oracle 32 bit - MSORCL32.DLL (07/12/2019)
I've verified that connection to the server was successful
Code: Select all
METHOD ExecuteSQLStatement(oSQLStatement, sText)
LOCAL lSuccess := TRUE AS LOGIC
sText := IF(Empty(sText), '',sText)
IF ! oSQLStatement:Execute()
poError:ShowError(sText + oSQLStatement:SQLString, 2)
lSuccess := FALSE
ENDIF
RETURN lSuccess
Code: Select all
SELECT * FROM Employee JOIN Salary ON Employee.ID = Salary.ID
Code: Select all
SELECT * FROM Employee, SELECT * FROM Salary