I have some knowledge about SQL but a complete novice in Oracle. The following sql statement will execute properly in SQL Server. But this doesn't execute in Oracle and throws an error.
select Field1, * from Table1 where SomeField = 0
Please let know how to execute a similar statement in Oracle. The error recieved is as follows:
ORA-00936: missing expression
00936. 00000 - "missing expression"
尝试,
select Field1, a.* from Table1 a where SomeField = 0;
只需尝试:
select Field1, Table1.* from Table1 where SomeField = 0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.