Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 05 Nov 2002 @ 17:40:19 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: How to store a JPEG in a table?
From:   Geoffrey Rommel

  BTEQ code for the table:  

  create table filedb
piece varbyte(64000)

I can't answer your main question, but shouldn't you have another column in this table to serve as a primary index? I don't think the varbyte column is a wise choice. Perhaps something like this:

create table filedb (
piece_num integer,
piece varbyte(64000)
unique primary index(piece_num);

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023