posted 16 years ago
I need to create some oracle script and run it in oracle database I noticed some people use "/" at the end of the command. So which of the following two formats should I use ? Format a) or b) ?
a)
delete from XYZ;
delete from ABC;
insert into OPQ(c1,c2,c3) values(v1,v2,v3);
insert into OPQ(c1,c2,c3) values(v4,v5,v6);
...
b)
delete from XYZ
/
delete from ABC
/
insert into OPQ(c1,c2,c3) values(v1,v2,v3)
/
insert into OPQ(c1,c2,c3) values(v4,v5,v6)
/