469,125 Members | 1,251 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,125 developers. It's quick & easy.

Error: ORA-01427:single-row subquery returns more than 1 row?

QUERY->
Expand|Select|Wrap|Line Numbers
  1.  select *
  2.   from sttb_record_log
  3.  where table_name IN ('STTMS_CUSTOMER', 'STTM_CUSTOMER')
  4.    AND KEY_ID LIKE(SELECT '%' || CUSTOMER_NO || '%'
  5.                       FROM STTM_CUSTOMER
  6.                     )
Error-ora-01427:single-row subquery returns more than one row
Aug 2 '12 #1
1 3220
Rabbit
12,516 Expert Mod 8TB
Please use code tags when posting code.

When using the like operator with a subquery, the subquery must only return one row.
Aug 2 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by GJW | last post: by
8 posts views Thread by Thomas R. Hummel | last post: by
1 post views Thread by bassamsuha | last post: by
1 post views Thread by sachin shah | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.