<conditions>
<condition operation="equal" column="site_url" var="site_url" notnull="notnull" pipe="or"/>
<condition operation="equal" column="document_srl" var="document_srl" notnull="notnull" pipe="or"/>
</conditions>
컨디션스 부분을 이렇게 작성한건데요..
제가 원하는건 site_url이 같거나(or) document_srl 이 같으면 불러오는 조건문을 만들고 싶습니다.
근데 조건문 없이 한줄 한줄 따로는 잘 되는데 뒤에 pipe를 붙여서 조건문을 만들고 저런식으로 두 줄로 하면은 실행이 안되는데요..
도움 주시면 감사하겠습니다~!
첫 번째 조건에서 pipe="or"를 빼주세요.
XE에서 pipe는 그냥 무조건 맨 앞에 붙기 때문에
WHERE OR site_url = xxxx OR document_srl = yyyy
이렇게 이상한 쿼리가 되어 버립니다 ㅡ.ㅡ