Home » SQL & PL/SQL » SQL & PL/SQL » Syntax
Syntax [message #10533] Wed, 28 January 2004 20:59 Go to next message
Shashikant R.
Messages: 1
Registered: January 2004
Junior Member
if semicolon is missing in an insert statement within a script , does oracle give error or it ignores it ?
Re: Syntax [message #10536 is a reply to message #10533] Wed, 28 January 2004 22:27 Go to previous message
resy
Messages: 86
Registered: December 2003
Member
No.
if it is inside a script
there is no need of semicolon, instead the last line of
the statement should be '/'

for eg:

test.sql

insert into supplier
values('22','dffd','dfdf')
/

insert into supplier
values('33','dffd','dfdf')
/

if im executing this
SQL> @test.sql

1 row created.

1 row created.
Previous Topic: Export terminated successfully with warnings
Next Topic: Error in Bulk Collect
Goto Forum:
  


Current Time: Fri Apr 26 22:47:39 CDT 2024