Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Apress committed Oct 11, 2016
0 parents commit e2b083d
Show file tree
Hide file tree
Showing 480 changed files with 48,924 additions and 0 deletions.
Binary file added 3682.pdf
Binary file not shown.
Binary file added 3683.pdf
Binary file not shown.
Binary file added 9781590598825.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions AppendixA/create_user.sql
@@ -0,0 +1,30 @@
connect sys as sysdba;
create user bps identified by bps;
alter user bps default tablespace users temporary tablespace temp;
grant all privileges to bps;
grant execute on SYS.DBMS_LOCK to BPS;
set feedback off;
set linesize 1000;
set newpage 0;
set pagesize 32767;
set trimspool on;
spool create_user.sub
select 'grant select on '||view_name||' to bps;'
from SYS.DBA_VIEWS
where owner = 'SYS'
and view_name like 'DBA\_%' escape '\'
order by 1;
select 'grant select on '||view_name||' to bps;'
from SYS.DBA_VIEWS
where owner = 'SYS'
and view_name like 'V\_$%' escape '\'
order by 1;
spool off;
set feedback on;
set linesize 1000;
set newpage 1;
set pagesize 32767;
set trimspool on;
spool create_user_sub.txt;
@create_user.sub
spool off;
935 changes: 935 additions & 0 deletions AppendixA/create_user.sub

Large diffs are not rendered by default.

0 comments on commit e2b083d

Please sign in to comment.