Results 1 to 2 of 2

Thread: switching product xml package

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    13

    Default switching product xml package

    Hi:

    Is there is a sql statement to switch from a certain product xml package to another package?
    Any feedback is appreciated.

    regards,

  2. #2
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    Something like this :-

    C#/VB.NET Code:
    UPDATE Product SET XmlPackage 'new.product.xml.config'
    to update them all, or...

    C#/VB.NET Code:
    UPDATE Product SET XmlPackage 'new.product.xml.config' WHERE ProductID 123
    to update a specific product, or...

    C#/VB.NET Code:
    UPDATE Product SET XmlPackage 'new.product.xml.config' WHERE ProductID IN (SELECT ProductID FROM ProductCategory WHERE CategoryID 89); 
    to update all products in a specific category, or...

    C#/VB.NET Code:
    UPDATE Product SET XmlPackage 'new.product.xml.config' WHERE XmlPackage 'old.product.xml.config'
    to update only products that use old.product.xml.config.


    TTFN

    BFG

Posting Permissions

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