Home > oracle > Oracle DB – Quick Reference

Oracle DB – Quick Reference

A quick reference for us Novices

View current database select * from global_name;
Create a new user create user “username” identified by “password”;
eg create user felix identified by felix
Grant connect and resource privileges grant connect, resource to felix;
Allow user to create new tables grant dba to felix;
Change the default number of lines per page(14) set pagesize 60;
Change the default number of characters per line (80) set linesize 100;
Clear formatting clear column;
Run previous command /

Now I can connect to database as

vagrant-ubuntu-oracle-xe$ rlwrap sqlplus64 felix/felix@//localhost:1521/XE



Categories: oracle
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: