Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    4

    Red face Unanswered: Need urgent help please reply

    create table items (
    id int primary key not null,
    brandname varchar(30),
    itemname varchar(30),
    sku int,
    srp decimal(7,2),
    comments xml
    )


    Suppose if a table has above structure and I want to delete records from table depending upon a value in xml document. How can I do that? Can't find any solution

  2. #2
    Join Date
    Jan 2010
    Posts
    335

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Use XMLEXISTS() if your DB2 version supports it. There are plenty of examples in the manual.
    ---
    "It does not work" is not a valid problem statement.

  4. #4
    Join Date
    Jan 2010
    Posts
    4

    Smile Thanks for replying

    Thanks alot for reply xmlexists worked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •