ORA-00936: missing expression - what is the cause?

user3752281

in Oracle SQL Developer I am runing :

SELECT 'XYZ' , * FROM ALL_TABLES ;

and get this error:

ORA-00936: missing expression 00936. 00000 - "missing expression" *Cause:
*Action: Error at Line: 14 Column: 14

it runs fine when I run:

 SELECT 'XYZ' , * FROM ALL_TABLES ;

Many thanks

Frank Schmitt

If you want to combine * with an additional column in your SELECT clause, you have to use a table alias:

 SELECT 'XYZ' , at.* FROM ALL_TABLES at;

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ORA 00936 Missing Expression

From Dev

ora:00936 Missing Expression error

From Dev

ORA-00936: missing expression distinct on oracle

From Dev

ORA-00936: missing expression oracle

From Dev

ORA-00936: missing expression in order by case

From Dev

SQL Error -- ORA-00936: missing expression

From Dev

ORA-00936: Missing Expression Teradata

From Dev

ORA-00936: missing expression, although there seems to be no missing expression (SQL)

From Dev

ORA-00936: missing expression, although there seems to be no missing expression (SQL)

From Dev

ORA-00936: missing expression error when inserting values

From Dev

Entity Framework ExecuteStoreCommand gives {"ORA-00936: missing expression"}

From Dev

ORA-00936: missing expression bad SQL grammar

From Dev

ORA-00936: missing expression while executing in C#.

From Dev

ORA-00936: missing expression ORACLE please help me

From Dev

Oracle data access error: ORA-00936: missing expression

From Dev

ORA-00936: missing expression while using stringbuilder

From Dev

Sql throws 'DBError: ORA-00936: missing expression' when empty expression_list is passed

From Dev

HQL with one-to-many relationship is giving "ORA-00936: missing expression" exception

From Dev

getting java.sql.SQLSyntaxErrorException: ORA-00936: missing expression error

From Dev

HQL with one-to-many relationship is giving "ORA-00936: missing expression" exception

From Dev

ORA-06550: line 12, column 9: PL/SQL: ORA-00936: missing expression ORA-06550: line 9, column 5: PL/SQL: SQL Statement ignored

From Dev

ORA-00936, Java and SQL

From Dev

Oracle SQL - ORA-00936 on DATE()

From Dev

SQL Developer Distinct gives ORA-00936

From Dev

Case within a Select returning "missing expression ORA-00905"

From Dev

What does it mean watch expression missing

From Dev

Error "Expression expected", what expression am I missing?

From Dev

Missing Expression

From Dev

What can cause "Missing Package: header, Problem with MergeList, The package lists or status file could not be parsed or opened" errors?

Related Related

  1. 1

    ORA 00936 Missing Expression

  2. 2

    ora:00936 Missing Expression error

  3. 3

    ORA-00936: missing expression distinct on oracle

  4. 4

    ORA-00936: missing expression oracle

  5. 5

    ORA-00936: missing expression in order by case

  6. 6

    SQL Error -- ORA-00936: missing expression

  7. 7

    ORA-00936: Missing Expression Teradata

  8. 8

    ORA-00936: missing expression, although there seems to be no missing expression (SQL)

  9. 9

    ORA-00936: missing expression, although there seems to be no missing expression (SQL)

  10. 10

    ORA-00936: missing expression error when inserting values

  11. 11

    Entity Framework ExecuteStoreCommand gives {"ORA-00936: missing expression"}

  12. 12

    ORA-00936: missing expression bad SQL grammar

  13. 13

    ORA-00936: missing expression while executing in C#.

  14. 14

    ORA-00936: missing expression ORACLE please help me

  15. 15

    Oracle data access error: ORA-00936: missing expression

  16. 16

    ORA-00936: missing expression while using stringbuilder

  17. 17

    Sql throws 'DBError: ORA-00936: missing expression' when empty expression_list is passed

  18. 18

    HQL with one-to-many relationship is giving "ORA-00936: missing expression" exception

  19. 19

    getting java.sql.SQLSyntaxErrorException: ORA-00936: missing expression error

  20. 20

    HQL with one-to-many relationship is giving "ORA-00936: missing expression" exception

  21. 21

    ORA-06550: line 12, column 9: PL/SQL: ORA-00936: missing expression ORA-06550: line 9, column 5: PL/SQL: SQL Statement ignored

  22. 22

    ORA-00936, Java and SQL

  23. 23

    Oracle SQL - ORA-00936 on DATE()

  24. 24

    SQL Developer Distinct gives ORA-00936

  25. 25

    Case within a Select returning "missing expression ORA-00905"

  26. 26

    What does it mean watch expression missing

  27. 27

    Error "Expression expected", what expression am I missing?

  28. 28

    Missing Expression

  29. 29

    What can cause "Missing Package: header, Problem with MergeList, The package lists or status file could not be parsed or opened" errors?

HotTag

Archive