Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

[INS-20802] Oracle Database Configuration Assistant failed. Cant Install 19c Database..

4232913Apr 16 2020 — edited Aug 2 2020

Hello everyone,

So a while ago I installed the 19c database. But for some reason I deleted it. And when I try to download it again its showing me a configuration assistant failed error. When I deleted it, I deleted everything, the environment variables, the groups and the registries and I cleared temp and the recycling bin. I dont know why this is happening.. I need to download fast so I can work on my university project.

It shows a fatal error in the logs: [FATAL] ORA-12560: TNS:protocol adapter error.

Hope someone helps Been trying to solve this for a week and nothing on google helps..

Comments

572471
Aketi Jyuuzou
My alternative solutions.
***Sample***
ID  PrevID
--  ------
 1    null
 2       1
 3       1
 4       3

***output which we want***
ID  PrevID  isLeaf
--  ------  ------
 1    null       0
 2       1       1
 3       1       0
 4       3       1

***DDL***
create table CloneIsLeaf as
select 1 as ID,null as PrevID from dual
union select 2,1 from dual
union select 3,1 from dual
union select 4,3 from dual;

--method1
select ID,PrevID,
case when exists(select 1 from CloneIsLeaf b
                  where a.ID = b.PrevID) then 0 else 1 end as isLeaf
  from CloneIsLeaf a
Start With ID = 1
connect by prior ID = PrevID;

--method2
select ID,PrevID,
case when Level < Lead(Level) over(order by RowNum)
     then 0 else 1 end as isLeaf
  from CloneIsLeaf
Start With ID = 1
connect by prior ID = PrevID;

--method3
select ID,PrevID,
case when LV < Lead(LV) over(order by RowNum)
     then 0 else 1 end as isLeaf
from (select ID,PrevID,Level as LV
        from CloneIsLeaf
      Start With ID = 1
      connect by prior ID = PrevID
      order siblings by ID);

--method4
select ID,PrevID,
case when LV < Lead(LV) over(order by Row_Num)
     then 0 else 1 end as isLeaf
from (select ID,PrevID,LV,RowNum as Row_Num
        from (select ID,PrevID,Level as LV
                from CloneIsLeaf
              Start With ID = 1
              connect by prior ID = PrevID
              order siblings by ID));
on method2 and method3 and method3,
I used that "Hierarchical Queries" is depth-first search (http://en.wikipedia.org/wiki/Depth-first_search)

http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/queries003.htm#i2053935

my site :-)
http://www.geocities.jp/oraclesqlpuzzle/10-149.html
1 - 2

Post Details

Added on Apr 16 2020
66 comments
73,544 views