ossiejhmoore icon

In Clause from String

ossiejhmoore | PRO | 02/28/20 03:45:35 PM UTC | 0 ⭐ | 6751 👁️ | Never ⏰ | []
SQL |

240 B

|

None

|

0 👍

/

0 👎

SELECT * FROM dtree WHERE parentid = 999999 AND dataid IN (
        SELECT to_number(regexp_substr('1111,2222,3333' , '[^,]+',1,level)) FROM dual
        CONNECT BY to_number(regexp_substr('1111,2222,3333' ,'[^,]+',1,level)) IS NOT NULL
)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎