Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 05 Nov 2002 @ 19:13:47 GMT


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


Subj:   Re: How to store a JPEG in a table?
 
From:   Matthew Lipke

  Would anyone be able to provide samples of your SQL code that allows you to store data into a VARBYTE or VARGRAPHIC type. I'm inserting a two byte field at the beginning of the graphic file to indicate the length of the file and putting a new line at the end of the file, but it is not working. Do you have any documentation on creating the data file from scratch and then uploading it to Teradata?  



Teradata does not automatically parse a file or image and break it into many pieces. This must be done outside the RDBMS. You adding data to the beginning and end does not help Teradata at all. My last job we were taking large files that contained images and breaking the files into smaller pieces and putting the smaller pieces in rows with an set of ID's to help define what was in the image. If you have any questions about how we did this or if you are unsure of what I am trying to describe, I would be more than happy to talk about it with you.


Matt Lipke



     
  <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