Exiting ISQL with / w/o exit & quit



Which is Suitable 1) or 2):
1)
isql -Usa -Ppassword -Sserver_name << EOF
go
select * from table
go
EOF


2)
isql -Usa -Ppassword -Sserver_name << EOF
go
select * from table
go
quit
EOF

Here in case 1) ,we r not exiting ISQL using exit or quit command.
In this case , will the session be remained open/ resource might not be
free properly.
Or it is perfectly fine i.e. 2) does not give any advantage.

.



Relevant Pages