P. 1
Oracle 11g

Oracle 11g

|Views: 650|Likes:
Published by srikantha76

More info:

Published by: srikantha76 on Jul 21, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/16/2013

pdf

text

original

In Oracle 11g, you can set a table to be read only, i.e. users can only query from the table but no DML
statement is allowed on the table. Following are the commands to achieve this:

ALTER TABLE employees READ ONLY;
ALTER TABLE employees READ WRITE;
SELECT TABLE_NAME, READ_ONLY FROM USER_TABLES WHERE TABLE_NAME='EMPLOYEES';

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->