Solved

Getting OCI-22303: type "MDSYS

Posted on 2006-12-01
5
4,018 Views
Last Modified: 2013-12-12
Hi,

I am trying to execute the following query

select * from wsh.wsh_locations

I am getting the following error in toad

OCI-22303: type "MDSYS


I tried executing the same query in sqlplus and I do not get any error. Could anyone please help me in determining whats causing this issue and how it can be corrected.

Thanks in advance
-Raghu
0
Comment
Question by:ThummalaRaghuveer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 2

Author Comment

by:ThummalaRaghuveer
ID: 18057195
this is in oracle  9.2.0.7.0
0
 
LVL 2

Author Comment

by:ThummalaRaghuveer
ID: 18057199
sqlplus version using which i can run it is  8.0.6.0.0
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 18057211
this is usually a version difference problem. probably the toad version you have does not know the data type needed for the query, while your sql plus does.
solution: upgrade the toad
0
 
LVL 28

Assisted Solution

by:Naveen Kumar
Naveen Kumar earned 250 total points
ID: 18065666
one way to get rid of this issue is to use the latest version of toad if you are not having latest version.

i have faced the same issue with latest toad version but in my case, we login into toad thru a different user but the types got created by another user. The toad user can access the table and so we altered this table to have a new field based on the type we wanted. After this we got errors whenever we try to select data from this table.

So we had to give 'grant execute on my_calendar_type to toad_user;' to get rid of the issue.

Thanks
0
 
LVL 2

Author Comment

by:ThummalaRaghuveer
ID: 18072449
problem is because of sdo_geometry datatype for one of the columns. I guess the version of toad I am using might not support it. thanks a lot for the support
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question