Filter Query XML stored as String

  • Using SQL2000 I need to use an BinTypeID in a WHERE clause stored in a string field that contains XML.

    This is what I have inherited in the WHERE clause but is very slow:

    (pnx_request_formdata.form_data like '% %' OR

    pnx_request_formdata.form_data like '% %' OR

    pnx_request_formdata.form_data like '% %' OR

    pnx_request_formdata.form_data like '% %')

    Is there a neater way of doing this?

  • Yes, there is.

    Parse XML, put data into relational database and do search from there.

    _____________
    Code for TallyGenerator

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply