Answer Posted / saraswathi muthuraman
Oracle will have a default table called 'DUAL'.
Dual table will have only one column "DUMMY". U cann't
insert values into dual table. By default, a row will
existing in dual table.
SQL> desc dual;
DUMMY varchar2(1)
SQL> select * from dual;
X
1 row selected.
SQL> insert into dual values (10);
insert into dual values (10)
*
ERROR at line 1:
ORA-01031: insufficient privileges
U can create you own table with the name of dual.
SQL> create table dual(xy number,zz number);
Table created.
SQL> desc dual;
xy number
zz number
u can insert values in you own dual table.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the common oracle dba tasks?
How to call a stored function with parameters?
what is difference between sql plus and sql*plus? (not sql and sql plus).
What is parameterized cursor in oracle?
How to rename an index in oracle?
Explain oracle data types with examples?
What is query image?
How to load a large xml file?
What are the differences between char and varchar2 in oracle?
How to add another datafile to a tablespace?
How to create a single index for multiple columns?
How index is implemented in oracle database?
What to do if the binary spfile is wrong for the default instance?
In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?
How to define a variable to match a table column data type?