-
Decode Function issue
Hi all,
i want compare two rows in a table. so i used decode function to compare the values, whther its matched or not.
One of my table column has Long data type.
Decode(a.col1,b.col1,'Match','NotMatch')
col1 - is long data type.
when i use long data type, i got below error,
is there anyway to rectify this error.
SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got LONG
00932. 00000 - "inconsistent datatypes: expected %s got %s"
Thanks in advance.
Regards,
Santhosh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|