Jump to content
xisto Community
Sign in to follow this  
cse-icons

Oracle Tables Interesting feature

Recommended Posts

hi friends,

I wud like to share this interesting piece of info that I got from a friend of mind:

its possible to create tables with no names i.e. a table with spaces as its name (unfortunately).


Create table " "(EMPNO NUMBER(3));
creates a table with 4 spaces as its name.
When you select the list of tables from all_tables, such tables are not visible.


insert into " " values(3);
To access such a table use

Select *From " ";

(Remember you need to give exactly the same number of spaces as you gave while creating the table).

This feature can be used to store information that you feel is confidential for you.

This should work in ORACLE. dont know abt others.

Regards,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.