ORA-01756: quoted string not properly terminated when I try to execute my code

前端 未结 3 1757
[愿得一人]
[愿得一人] 2021-01-18 08:34

I keep getting the following message every time I try to run this code in oracle. The code is as follows:

DROP TABLE movie;
CREATE TABLE movie (movie_id NUMB         


        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 09:05

    My solution try:


    pelicula = array("titulo"=>"it's the modern era");

    and insert this array.

    INSERT(%%%,pelicula["titulo"],%%%).

    Explicacion: Para evitar el problema de la comilla, copia la cadena a un array, inserta el nombre a traves de este array y el problema se acaba.

提交回复
热议问题