How can I solve ORA-00911: invalid character error?

后端 未结 8 799
梦如初夏
梦如初夏 2020-12-08 19:47

I tried to execute an SQL INSERT with Toad for oracle:

INSERT INTO GRAT_ACTIVITY
   (UUID, IP_ADRESS, SEND_MAIL, DATE_         


        
8条回答
  •  既然无缘
    2020-12-08 20:09

    The option(s) to resolve this Oracle error are:

    Option #1 This error occurs when you try to use a special character in a SQL statement. If a special character other than $, _, and # is used in the name of a column or table, the name must be enclosed in double quotations.

    Option #2 This error may occur if you've pasted your SQL into your editor from another program. Sometimes there are non-printable characters that may be present. In this case, you should try retyping your SQL statement and then re-execute it.

    Option #3 This error occurs when a special character is used in a SQL WHERE clause and the value is not enclosed in single quotations.

    For example, if you had the following SQL statement:

    SELECT * FROM suppliers WHERE supplier_name = ?;

提交回复
热议问题