title: DB2/400 SQL : How to insert PDF file in Blob Column?
body: <p>I would like to know if my SQL insert code is OK.</p>
  
  <p>Here is my table :</p>
  
  <pre><code>-- Create table
  Create table FNS_CHAMP_DEV
  ( 
  IDAUTO         Integer not null generated always as identity ( start with 
  0, increment by 1, no cache) primary key,
  BB_COL               BLOB,  
  CB_COL               CLOB   
  );
  </code></pre>
  
  <p>Is my syntax SQL below correct to insert  a PDF file in BLOB Column ? </p>
  
  <p>-- SQL insert request :</p>
  
  <pre><code>   SELECT IDAUTO  AS Last_ID from final table  (Insert into FNS_CHAMP_DEV  ( 
     BB_COL ) Values(blob('C:\DOC_TECHNIQUE_WD\TEC_VISUAL_STUDIO\WPF_VISUAL_STUDIO.pdf')));
  </code></pre>
  
  <p>Thanks </p>