I want to execute this command:
SELECT
WORKORDERID,
(SELECT WORKTYPEID FROM WORK_TYPE v WHERE v.WORKTYPEID = e.WORKTYPE) w
FROM
WORKORDERS e
It works in SQL Server and Visual Studio but when I want to execute this command on the oracle (I have same table in oracle and SQL Server) by Visual Studio Server Explorer I got this error:
Error in SELECT clause: expression near 'SELECT'.
Error in SELECT clause: expression near 'FROM'.
Missing FROM clause. Unable to parse query text.
And after that show data correctly but it doesn't work in dataset