title: Informix - Create a Foreign key while creating Table
body: <p>I can see the documentation in IBM page here : </p>
  
  <p><a href="https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.sqls.doc/ids_sqs_0103.htm#ids_sqs_0103" rel="nofollow noreferrer">https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.sqls.doc/ids_sqs_0103.htm#ids_sqs_0103</a></p>
  
  <p>But when I try the following, I get an error : </p>
  
  <pre><code>CREATE TABLE relacion_Usuarios_pertenecen_Instituto
   (
    foranea_CI_usuario  REFERENCES Usuarios CI,
    foranea_id_instituto  REFERENCES Institutos id_instituto,
    PRIMARY KEY (foranea_CI_usuario,foranea_id_instituto)
   );
  </code></pre>
  
  <h3>Error I get :</h3>
  
  <pre><code>  201: A syntax error has occurred.
  Error in line 77
  Near character position 29
  </code></pre>
  
  <p>Line 77 is the 2nd line of my snippet.</p>
  
  <p>I have tried different combinations of possible syntaxes, and always i have an generic "syntax error".</p>
  
  <p>What I am doing wrong?</p>