Ask Experts Questions for FREE Help!
Answer   ||    Advanced Search

Ask your question or search...
International Sites: Nederlandse experts vragen
User Name 
Password 
Join   Forgot password? 

Home > Computers & Technology > Programming > Databases > Oracle   »   Oracle a query the error ORA-01445

Question
 
 
#1  
Old Oct 1, 2009, 01:39 AM
madana
New Member
madana is offline
 
Join Date: Oct 2009
Posts: 1
madana See this member's comment history on his/her Profile page.
Oracle a query the error ORA-01445

ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table

I am running a query on Oracle 10G database.
Why this error occurs and what is a key-preserved table.
If I run the query without the view it runs.
When I join the view to the query I get the error.
Can you help resolving this.
Thanks and Regards
Madana

Reply With Quote
 
     

Answers
 
 
Old Nov 18, 2009, 06:13 AM   #2  
Junior Member
fozzyman is offline
 
Join Date: Nov 2009
Posts: 1
fozzyman
I had the same problem.
In my case I solved by limiting the number of columns in the join:
ex.

select * from tableA a join tableB b on (a.column = b.column)

by

select * from tableA a join (select column from tableB) b on (a.column = b.column)
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Ask your question or search...



Similar Threads
oracle forms 10g error tns:protocol adapter error
(1 replies)
ORA 01034 :tns error oracle not available
(5 replies)
error in oracle 10g
(3 replies)
Oracle Error
(0 replies)
Oracle Error 12560:tns Protocol Adapter Error
(2 replies)

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread

Advanced Search

Bookmarks





Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 09:00 PM.