Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
260 views
in Technique[技术] by (71.8m points)

SQL in Oracle(LiveSQL)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Another option is to use INSERT ALL:

insert all
  into students (sr_no, name, class, sec, contact, total_marks) values (1, 'Ravi' , 10, 'A', 12345, 579)
  into students (sr_no, name, class, sec, contact, total_marks) values (2, 'Ria'  , 10, 'B', 98765, 580)
  into students (sr_no, name, class, sec, contact, total_marks) values (3, 'Aditi', 10, 'A', 98498, 570)
select * From dual;

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...