Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default problem with products_options_values as a BLOB

    I am writing a tool to download orders and process them. I am trying to use ODBC to download the zen_orders_products_attributes table. The field products_options_values, which contains the text of attributes, is of type BLOB. When I try to get the values from my ODBC connection, nothing comes out. I'm wondering if it's possible to get data from variables of type BLOB from ODBC?

    Alternately, Can I change the type of products_options_values to VarChar? I'm not using attributes for anything that needs a size that blob allows, I just wonder if I will screw something else up if I make the change.

    Thanks,
    Kevin

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: problem with products_options_values as a BLOB

    You can change the field to TEXT instead of BLOB if you haven't modified the code to store binary data for some reason (which is highly unlikely).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: problem with products_options_values as a BLOB

    Thanks Dr Byte! That solved my problem.

    Kevin

 

 

Similar Threads

  1. v154 products_options, products_options_values: Indexes aren't auto-increment?
    By lat9 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 23 Oct 2015, 08:28 PM
  2. BLOB/TEXT column 'products_options_values' can't have a default value ??
    By quantumfusion in forum Installing on a Windows Server
    Replies: 16
    Last Post: 26 Jan 2008, 01:40 AM
  3. 1101 BLOB/TEXT column can't have a default value
    By tkroh in forum Installing on a Windows Server
    Replies: 3
    Last Post: 27 Dec 2006, 10:28 PM
  4. [Quantity box?] for products_options_values
    By hickaway in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Oct 2006, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR