connect sys/oracle as sysdba
shutdown immediate;
connect sys/oracle as sysdba
startup mount;
alter database open read only;
connect scott/tiger
update emp set sal=sal*1.1;
connect sys/oracle as sysdba
shutdown immediate;
connect sys/oracle as sysdba
startup;