2013-01-21 51 views

回答

17

你正在使用ora CLE,試試這個

INSERT ALL 
    INTO mytable ("id", "name") 
     VALUES ('val1', 'val2') 
    INTO mytable ("id", "name") 
     VALUES ('aa', 'cc') 
    INTO mytable ("id", "name") 
     VALUES ('ww', 'dd') 
SELECT * FROM dual ; 

或簡單

INSERT INTO mytable ("id", "name") VALUES ('val1', 'val2'); 
INSERT INTO mytable ("id", "name") VALUES ('aa', 'cc'); 
INSERT INTO mytable ("id", "name") VALUES ('ww', 'dd'); 
+3

所以答案是否定的。 – eych

相關問題