Missing Expression when selecting all columns and one more

后端 未结 2 1593
说谎
说谎 2021-01-19 04:33

This kind of query would work perfectly in SQL Server, but it does not work in Oracle.

select issueno, * from SOMETABLE;

The error message

2条回答
  •  滥情空心
    2021-01-19 05:11

    On Oracle you have to include the table name or an alias to use the *. Try this:

    select issueno, SOMETABLE.*
    from SOMETABLE;
    

提交回复
热议问题