Question
can we insert any row to dual table if i got the permission
from DBA
Question Submitted By :: Aliya
I also faced this Question!!
Rank
Answer Posted By
Re: can we insert any row to dual table if i got the permission
from DBA
Answer
# 1
No, its a system table defined by oracle.
Even the DBA has read privileges for dual table.
Neo Devan
Re: can we insert any row to dual table if i got the permission
from DBA
Answer
# 2
Yes, first I connect the as sysdba after that we insert
data in the dual table as
sql>conn / as sysdba
connected
sql>desc dual;
insert into dual values('A');
(1)row inserted
but I found some problems after that ,We use
sql> seelct * from dual;
Only one value displayed
that was default 'x' as system defined data not displayed
other data a like 'A'.
Dummy
-------
x
Only x record display in the dual table.
Ram Babu Mandal(software Engin
Re: can we insert any row to dual table if i got the permission
from DBA
Answer
# 3
yes why not . you can insert values and see the values also
but a caviet you can only insert 1 value
its has datatype with length 1
varchar2(1)
Kiran
Re: can we insert any row to dual table if i got the permission
from DBA
Answer
# 4
Dual is a pseudotable with one column varchar and length=1.
Yes, we can insert values into Dual table provided the
inserted value is of type varchar and length =1.
Chandana
Re: can we insert any row to dual table if i got the permission
from DBA
Answer
# 5
U can by connecting as sysdba
but it displays all rows
insert into dual values('A');
insert into dual values('B');
commit;
select * from dual;
Dummy
-------
x
A
B
in same session and will display x in different session only
Sanjay Gupta