dbTalk Databases Forums  

ORA-00932 inconsistant datatypes

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss ORA-00932 inconsistant datatypes in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steffi Kollenz
 
Posts: n/a

Default ORA-00932 inconsistant datatypes - 10-09-2003 , 11:09 AM






Hi,
i try to execute the following select statement:
"select URN from DocStore where VALUE like '%test%';"
The table: column URN is type VARCHAR2, column VALUE is type LONG.
I get the error ora-00932 inconsistant datatypes. Can anybody tell me
how to make such a select statement on columns of type long?
Thanks
Steffi


Reply With Quote
  #2  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: ORA-00932 inconsistant datatypes - 10-09-2003 , 12:02 PM






Steffi Kollenz wrote:

Quote:
Hi,
i try to execute the following select statement:
"select URN from DocStore where VALUE like '%test%';"
The table: column URN is type VARCHAR2, column VALUE is type LONG.
I get the error ora-00932 inconsistant datatypes. Can anybody tell me
how to make such a select statement on columns of type long?
Thanks
Steffi

You can't. At least not in PL/SQL and not in one step.

Go to http://asktom.oracle.com and look up LONG to CLOB.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.